Commit e0bda414 authored by Edric Milaret's avatar Edric Milaret Committed by Stepan Salenikovich

settings: fix minimize preference not being stored if false

Introduced by change 2141
Issue: #75805
Change-Id: I6f2006fa231538bac451943ff9c900da01a8b852
parent b25af97d
......@@ -101,6 +101,8 @@ MainBar::on_exitButton_clicked()
if (ret == QMessageBox::Ok)
settings.setValue(SettingsKey::closeOrMinimized, true);
settings.setValue(SettingsKey::closeOrMinimized, false);
if (settings.value(SettingsKey::closeOrMinimized).toBool() == true)
emit minimize();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment