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:
Hugo Posnic 2024-06-09 10:41:31 +02:00 committed by GitHub
commit e6900c98aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -351,6 +351,7 @@ class CurtailWindow(Adw.ApplicationWindow):
def banner_change_mode(self, *args):
self._settings.set_boolean('new-file', True)
self.show_warning_banner()
self.set_saving_subtitle()
def on_preferences(self, *args):
if self.prefs_dialog is not None: