Qt: Fix cheat code delete message
This commit is contained in:
parent
2c3d1d9e60
commit
95be381a9f
|
@ -545,7 +545,8 @@ void GameCheatSettingsWidget::removeCode(const std::string_view code_name, bool
|
||||||
|
|
||||||
if (QMessageBox::question(this, tr("Confirm Removal"),
|
if (QMessageBox::question(this, tr("Confirm Removal"),
|
||||||
tr("You are removing the code named '%1'. You cannot undo this action, are you sure you "
|
tr("You are removing the code named '%1'. You cannot undo this action, are you sure you "
|
||||||
"wish to delete this code?")) != QMessageBox::Yes)
|
"wish to delete this code?")
|
||||||
|
.arg(QtUtils::StringViewToQString(code_name))) != QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue