9878: Update note text before closing
The object must be updated so that changes can be detected.
This commit is contained in:
parent
5f2a6df0d0
commit
49416739c1
@ -303,6 +303,11 @@ class EditNote(EditPrimary):
|
||||
self.obj.set_styledtext(text)
|
||||
_LOG.debug(str(text))
|
||||
|
||||
def close(self, *obj):
|
||||
"""Called when cancel button clicked."""
|
||||
self.update_note()
|
||||
super().close()
|
||||
|
||||
def save(self, *obj):
|
||||
"""Save the data."""
|
||||
self.ok_button.set_sensitive(False)
|
||||
|
Loading…
Reference in New Issue
Block a user