Skip to content

Commit

Permalink
Fix GUI debug flags bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinffernandez committed Aug 28, 2024
1 parent 46a66ff commit 17e8c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ bool Utils::isSet(AppFlags flag)
{
QSettings settings(QCoreApplication::applicationDirPath() + "/qss-solver.ini", QSettings::IniFormat);
QString val = settings.value(appFlagName(flag), "Value not found in file qss-solver.ini").toString();
return val.isEmpty();
return val == "true";
}

QString Utils::getDebugValue()
Expand Down

0 comments on commit 17e8c97

Please sign in to comment.