Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-07-01 15:56:28 +0300
committerYuSanka <yusanka@gmail.com>2019-07-01 15:56:28 +0300
commita934c2e79c64273db45e7bc22835eb147488d81b (patch)
treed53b086763ac8830ac080f7f87791dbd904b5ada /src/slic3r/GUI/Tab.hpp
parent61080bcff6221479c366ac53e0cc949d1b19cf22 (diff)
Changed a behavior logic of a value reverting for presets, derived from default.
LOCKs and ARROWs work now in a same way like for presets, derived from system presets.
Diffstat (limited to 'src/slic3r/GUI/Tab.hpp')
-rw-r--r--src/slic3r/GUI/Tab.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Tab.hpp b/src/slic3r/GUI/Tab.hpp
index 6bbe15f7f..73b6bb08d 100644
--- a/src/slic3r/GUI/Tab.hpp
+++ b/src/slic3r/GUI/Tab.hpp
@@ -142,6 +142,12 @@ protected:
PresetDependencies m_compatible_printers;
PresetDependencies m_compatible_prints;
+ /* Indicates, that default preset or preset inherited from default is selected
+ * This value is used for a options color updating
+ * (use green color only for options, which values are equal to system values)
+ */
+ bool m_is_default_preset {false};
+
ScalableButton* m_undo_btn;
ScalableButton* m_undo_to_sys_btn;
ScalableButton* m_question_btn;