Skip to content

Commit

Permalink
Qt: Fix cheat code delete message
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 3, 2024
1 parent 2c3d1d9 commit 95be381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/duckstation-qt/gamecheatsettingswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,8 @@ void GameCheatSettingsWidget::removeCode(const std::string_view code_name, bool

if (QMessageBox::question(this, tr("Confirm Removal"),
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;
}
Expand Down

0 comments on commit 95be381

Please sign in to comment.