Initialize extra_label in init instead of statically

This commit is contained in:
Sumner Evans
2020-02-11 20:39:26 -07:00
parent 52a1f4ec16
commit 7ff6025d93

View File

@@ -41,11 +41,12 @@ class SettingsDialog(EditFormDialog):
5,
),
]
extra_label = Gtk.Label(
label='<i>* Will be appplied after restarting Sublime Music</i>',
justify=Gtk.Justification.LEFT,
use_markup=True,
)
def __init__(self, *args, **kwargs):
self.extra_label = Gtk.Label(
label='<i>* Will be appplied after restarting Sublime Music</i>',
justify=Gtk.Justification.LEFT,
use_markup=True,
)
super().__init__(*args, **kwargs)