From 15e4c19f04d73778c911669e7df0827fd8078ca2 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Mon, 10 Dec 2018 14:54:54 -0600 Subject: [PATCH] Removed unneeded comments --- src/controller/attach.py | 2 -- src/controller/buffers.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/controller/attach.py b/src/controller/attach.py index 6aa88e2..ffd4664 100644 --- a/src/controller/attach.py +++ b/src/controller/attach.py @@ -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. diff --git a/src/controller/buffers.py b/src/controller/buffers.py index c77fc39..560a536 100644 --- a/src/controller/buffers.py +++ b/src/controller/buffers.py @@ -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