mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed two minor cosmetic issues.
This commit is contained in:
parent
6479178186
commit
9dd8aacb28
|
@ -302,7 +302,7 @@ void updateGamelist(SystemData* system)
|
|||
Utils::FileSystem::createDirectory(Utils::FileSystem::getParent(xmlWritePath));
|
||||
|
||||
LOG(LogDebug) << "Gamelist::updateGamelist(): Added/updated " << numUpdated <<
|
||||
(numUpdated == 1 ? " entity in '" : " entities in \"") << xmlReadPath << "\"";
|
||||
(numUpdated == 1 ? " entity in \"" : " entities in \"") << xmlReadPath << "\"";
|
||||
|
||||
#if defined(_WIN64)
|
||||
if (!doc.save_file(Utils::String::stringToWideString(xmlWritePath).c_str())) {
|
||||
|
|
|
@ -62,10 +62,16 @@ GuiComplexTextEditPopup::GuiComplexTextEditPopup(
|
|||
|
||||
std::vector< std::shared_ptr<ButtonComponent> > buttons;
|
||||
buttons.push_back(std::make_shared<ButtonComponent>(mWindow, acceptBtnText, acceptBtnText,
|
||||
[this, okCallback] { okCallback(mText->getValue()); delete this; }));
|
||||
[this, okCallback] {
|
||||
okCallback(mText->getValue());
|
||||
delete this;
|
||||
}));
|
||||
buttons.push_back(std::make_shared<ButtonComponent>(mWindow, loadBtnText, loadBtnHelpText,
|
||||
[this, infoString2] {
|
||||
mText->setValue(infoString2); mText->setCursor(infoString2.size()); }));
|
||||
mText->setValue(infoString2);
|
||||
mText->setCursor(0);
|
||||
mText->setCursor(infoString2.size());
|
||||
}));
|
||||
buttons.push_back(std::make_shared<ButtonComponent>(mWindow, clearBtnText, clearBtnHelpText,
|
||||
[this] { mText->setValue(""); }));
|
||||
if (!mHideCancelButton)
|
||||
|
|
Loading…
Reference in a new issue