we need to draw when choosing examples even if not data changed.
This commit is contained in:
@@ -28,6 +28,9 @@ class Message:
|
||||
def data_change(self):
|
||||
return True
|
||||
|
||||
def entry_redraw(self):
|
||||
return self.data_change()
|
||||
|
||||
def add_arg(self, arg):
|
||||
self._args.append(arg)
|
||||
|
||||
|
||||
@@ -97,3 +97,8 @@ class ShowExampleMenu(KeyPlusClickMessage):
|
||||
def reset(self):
|
||||
# special case, when choosing messages dont reset
|
||||
return not (self.ctrl or self.shift)
|
||||
|
||||
def entry_redraw(self):
|
||||
# when choosing messages we need to redraw
|
||||
return self.ctrl or self.shift
|
||||
|
||||
|
||||
Reference in New Issue
Block a user