This commit is contained in:
David Robertson 2020-05-09 19:31:09 +01:00
parent 73757a66cd
commit 13296aea1d
1 changed files with 1 additions and 4 deletions

View File

@ -1,5 +1,3 @@
from PyQt5 import QtWidgets
from flatcamGUI.preferences.OptionsGroupUI import OptionsGroupUI
from flatcamGUI.preferences.PreferencesSectionUI import PreferencesSectionUI
from flatcamGUI.preferences.cncjob.CNCJobAdvOptPrefGroupUI import CNCJobAdvOptPrefGroupUI
@ -18,14 +16,13 @@ class CNCJobPreferencesUI(PreferencesSectionUI):
def __init__(self, decimals, **kwargs):
self.decimals = decimals
self.cncjob_adv_opt_group = CNCJobAdvOptPrefGroupUI(decimals=self.decimals)
super().__init__(**kwargs)
def build_groups(self) -> [OptionsGroupUI]:
return [
CNCJobGenPrefGroupUI(decimals=self.decimals),
CNCJobOptPrefGroupUI(decimals=self.decimals),
self.cncjob_adv_opt_group
CNCJobAdvOptPrefGroupUI(decimals=self.decimals)
]
def get_tab_id(self):