Ref T176, set selection mode deferred because otherwise it will be overidden from UI builder code

This commit is contained in:
Klaus Basan
2017-10-31 02:52:06 +01:00
parent 0445a88d6d
commit 3876b010cb

View File

@@ -521,7 +521,9 @@ namespace BlackGui
break;
}
this->settingsChanged();
// call this deferred, otherwise the values are overridden with any values
// from the UI builder
QTimer::singleShot(500, this, &CViewBaseNonTemplate::settingsChanged);
}
QString CViewBaseNonTemplate::getSettingsFileName(bool load) const