9878: Update note text before closing
The object must be updated so that changes can be detected.
This commit is contained in:
parent
e95fe692ba
commit
49321133e0
@ -301,6 +301,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