Qt: Fix duplicate message context in debugger error

pull/3767/head
Stenzek 1 week ago
parent 7d4b97d199
commit 12df0cd11b
No known key found for this signature in database

@ -201,8 +201,9 @@ void DebuggerAddBreakpointDialog::okClicked()
if (!ok)
{
QtUtils::AsyncMessageBox(this, QMessageBox::Critical, tr("Error"),
tr("Invalid address. It should be in hex (0x12345678 or 12345678)"));
QtUtils::AsyncMessageBox(
this, QMessageBox::Critical, windowTitle(),
QCoreApplication::translate("DebuggerWindow", "Invalid address. It should be in hex (0x12345678 or 12345678)"));
return;
}

Loading…
Cancel
Save