changeset 775:08c6e097ff5d

browser side (blog): fixed click when comment, update or delete icons are not available
author Goffi <goffi@goffi.org>
date Wed, 25 Nov 2015 19:39:20 +0100
parents 734e59ba74a7
children 627b9073a2ec
files src/browser/sat_browser/blog.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/blog.py	Thu Nov 26 20:18:25 2015 +0100
+++ b/src/browser/sat_browser/blog.py	Wed Nov 25 19:39:20 2015 +0100
@@ -96,6 +96,9 @@
             self.addComments(comments_data)
 
     def refresh(self):
+        self.comment_label = None
+        self.update_label = None
+        self.delete_label = None
         self.header.clear()
         self.entry_dialog.clear()
         self.entry_actions.clear()
@@ -243,6 +246,7 @@
             pass
 
     def onClick(self, sender):
+
         if sender == self:
             self.blog.setSelectedEntry(self)
         elif sender == self.delete_label: