mirror of
https://github.com/Huluti/Curtail.git
synced 2024-10-04 01:27:23 +03:00
Merge pull request #232 from ARAKHN1D/banner-button-update-subtitle
Properly update headerbar subtitle when changing mode with banner button
This commit is contained in:
commit
e6900c98aa
@ -351,6 +351,7 @@ class CurtailWindow(Adw.ApplicationWindow):
|
|||||||
def banner_change_mode(self, *args):
|
def banner_change_mode(self, *args):
|
||||||
self._settings.set_boolean('new-file', True)
|
self._settings.set_boolean('new-file', True)
|
||||||
self.show_warning_banner()
|
self.show_warning_banner()
|
||||||
|
self.set_saving_subtitle()
|
||||||
|
|
||||||
def on_preferences(self, *args):
|
def on_preferences(self, *args):
|
||||||
if self.prefs_dialog is not None:
|
if self.prefs_dialog is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user