added reset button hiding

This commit is contained in:
DYefremov
2020-01-24 00:04:43 +03:00
parent 40bf54e94f
commit e91c4c33a5

View File

@@ -118,6 +118,7 @@ class SettingsDialog:
self._profile_remove_button = builder.get_object("profile_remove_button")
self._apply_profile_button = builder.get_object("apply_profile_button")
self._apply_profile_button.bind_property("visible", builder.get_object("header_separator"), "visible")
self._apply_profile_button.bind_property("visible", builder.get_object("reset_button"), "visible")
# Language
self._lang_combo_box = builder.get_object("lang_combo_box")
# Settings