Changed confirmation messages for the GuiMetaDataEd text edit popups.

This commit is contained in:
Leon Styhre 2020-06-18 19:54:13 +02:00
parent f635e5bd2d
commit 5caabcff12

View file

@ -163,7 +163,7 @@ GuiMetaDataEd::GuiMetaDataEd(
defaultLaunchString, ed, updateVal, multiLine] { defaultLaunchString, ed, updateVal, multiLine] {
mWindow->pushGui(new GuiComplexTextEditPopup(mWindow, getHelpStyle(), mWindow->pushGui(new GuiComplexTextEditPopup(mWindow, getHelpStyle(),
title, staticTextString, defaultLaunchString, ed->getValue(), title, staticTextString, defaultLaunchString, ed->getValue(),
updateVal, multiLine, "APPLY")); updateVal, multiLine, "APPLY", "APPLY CHANGES?"));
}); });
break; break;
} }
@ -190,7 +190,7 @@ GuiMetaDataEd::GuiMetaDataEd(
auto updateVal = [ed](const std::string& newVal) { ed->setValue(newVal); }; auto updateVal = [ed](const std::string& newVal) { ed->setValue(newVal); };
row.makeAcceptInputHandler([this, title, ed, updateVal, multiLine] { row.makeAcceptInputHandler([this, title, ed, updateVal, multiLine] {
mWindow->pushGui(new GuiTextEditPopup(mWindow, getHelpStyle(), title, mWindow->pushGui(new GuiTextEditPopup(mWindow, getHelpStyle(), title,
ed->getValue(), updateVal, multiLine, "APPLY")); ed->getValue(), updateVal, multiLine, "APPLY", "APPLY CHANGES?"));
}); });
break; break;
} }