Removed unneeded comments
This commit is contained in:
parent
cca89f9260
commit
15e4c19f04
@ -29,8 +29,6 @@ class attachFromLocal(object):
|
||||
def upload_image(self, *args, **kwargs):
|
||||
""" allows uploading an image from the computer. In theory
|
||||
"""
|
||||
# toDo: Basically description is not working here. Research on how to add description to uploaded images needs attention.
|
||||
# For now, we fake a description, as it is not being send anymore.
|
||||
image, description = self.dialog.get_image()
|
||||
if image != None:
|
||||
# Define data structure for this attachment, as will be required by VK API later.
|
||||
|
@ -647,7 +647,7 @@ class chatBuffer(baseBuffer):
|
||||
get_post = get_focused_post
|
||||
|
||||
def onFocus(self, event, *args, **kwargs):
|
||||
if event.GetKeyCode() == wx.WXK_UP or event.GetKeyCode() == wx.WXK_DOWN:
|
||||
if event.GetKeyCode() == wx.WXK_UP or event.GetKeyCode() == wx.WXK_DOWN or event.GetKeyCode() == wx.WXK_START or event.GetKeyCode() == wx.WXK_PAGEUP or event.GetKeyCode() == wx.WXK_PAGEDOWN or event.GetKeyCode() == wx.WXK_END:
|
||||
msg = self.get_focused_post()
|
||||
if msg == False: # Handle the case where the last line of the control cannot be matched to anything.
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user