Some reverts for commit 4cd4d2c8b5

This commit is contained in:
YuSanka committed 2019-08-14 17:07:30 +02:00
1 parent fbda7be89d
commit 2d1c554758
3 files changed
+2 -7

No files matched your search

+1 -3
View File
@@ -91,9 +91,7 @@ enum ConfigOptionType {
enum ConfigOptionMode {
comSimple = 0,
comAdvanced,
comExpert,
comUndef
comExpert
};
enum PrinterTechnology : unsigned char
-3
View File
@@ -735,9 +735,6 @@ void Tab::update_mode()
void Tab::update_visibility()
{
if (m_mode == comUndef) // if mode isn't set for this moment
m_mode = wxGetApp().get_mode();
Freeze(); // There is needed Freeze/Thaw to avoid a flashing after Show/Layout
for (auto page : m_pages)
+1 -1
View File
@@ -218,7 +218,7 @@ protected:
int m_em_unit;
// To avoid actions with no-completed Tab
bool m_complited { false };
ConfigOptionMode m_mode = comUndef;
ConfigOptionMode m_mode = comExpert; // to correct first Tab update_visibility() set mode to Expert
public:
PresetBundle* m_preset_bundle;