Added unit test for settingvisibility presets

CURA-5734
This commit is contained in:
Jaime van Kessel 2018-10-01 14:50:53 +02:00
parent 7e7afa7c06
commit edb5de9954
5 changed files with 113 additions and 13 deletions

View file

@ -702,7 +702,7 @@ class CuraApplication(QtApplication):
self._cura_actions = CuraActions.CuraActions(self)
# Initialize setting visibility presets model.
self._setting_visibility_presets_model = SettingVisibilityPresetsModel(self)
self._setting_visibility_presets_model = SettingVisibilityPresetsModel(self.getPreferences(), parent = self)
# Detect in which mode to run and execute that mode
if self._is_headless: