Log why the config is being saved (we seem to do it a bit much at times)

This commit is contained in:
Henrik Rydgård committed 2019-02-23 11:55:44 +01:00
1 parent 24510b8187
commit d91f706206
16 files changed
+33 -35

No files matched your search

+2 -2
View File
@@ -44,7 +44,7 @@ void Combo_keyScreen::CreateViews() {
static const int comboKeyImages[5] = {
I_1, I_2, I_3, I_4, I_5,
};
comboselect = new ChoiceStrip(ORIENT_VERTICAL, new AnchorLayoutParams(10, 10, NONE, NONE));
comboselect->SetSpacing(10);
for (int i = 0; i < 5; i++) {
@@ -169,7 +169,7 @@ void Combo_keyScreen::onFinish(DialogResult result) {
g_Config.iCombokey4 = arrayToInt(array);
break;
}
g_Config.Save();
g_Config.Save("Combo_keyScreen::onFInish");
}
UI::EventReturn Combo_keyScreen::ChoiceEventHandler::onChoiceClick(UI::EventParams &e){