Deduplicate code creating widgets for prefs tabs
This commit is contained in:
@@ -27,3 +27,9 @@ class ExcellonPreferencesUI(PreferencesSectionUI):
|
||||
self.excellon_editor_group
|
||||
]
|
||||
|
||||
def get_tab_id(self):
|
||||
return "excellon_tab"
|
||||
|
||||
def get_tab_label(self):
|
||||
return _("EXCELLON")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user