Swap Update and Defaults button order in settings migration popup (#4399)

This commit is contained in:
kalaposfos13 2026-05-12 16:17:06 +02:00 committed by GitHub
parent f510f9aef2
commit 0c78ea9bba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -391,8 +391,8 @@ bool EmulatorSettingsImpl::Load(const std::string& serial) {
if (std::filesystem::exists(Common::FS::GetUserPath(Common::FS::PathType::UserDir) /
"config.toml")) {
SDL_MessageBoxButtonData btns[2]{
{0, 0, "Defaults"},
{0, 1, "Update"},
{0, 0, "Update"},
{0, 1, "Defaults"},
};
SDL_MessageBoxData msg_box{
0,
@ -407,7 +407,7 @@ bool EmulatorSettingsImpl::Load(const std::string& serial) {
};
int result = 1;
SDL_ShowMessageBox(&msg_box, &result);
if (result == 1) {
if (result == 0) {
if (TransferSettings()) {
m_loaded = true;
Save();