diff --git a/src/utils/Configuration.cpp b/src/utils/Configuration.cpp index dafee172..938056b4 100644 --- a/src/utils/Configuration.cpp +++ b/src/utils/Configuration.cpp @@ -23,7 +23,7 @@ Configuration* Configuration::instance() void Configuration::loadInitial() { setDarkTheme(getDarkTheme()); - QString theme = s.value("theme").toString(); + QString theme = getCurrentTheme(); if (theme != "default") { Core()->cmd(QString("eco %1").arg(theme)); diff --git a/src/utils/Configuration.h b/src/utils/Configuration.h index bf39b3be..5886437a 100644 --- a/src/utils/Configuration.h +++ b/src/utils/Configuration.h @@ -115,7 +115,7 @@ public: int getAsmTabs() const { return s.value("asm.tabs", 5).toInt(); } void setAsmTabs(int v) { s.setValue("asm.tabs", v); } - QString getCurrentTheme() const { return s.value("theme", "default").toString(); } + QString getCurrentTheme() const { return s.value("theme", "solarized").toString(); } void setColorTheme(QString theme); signals: