Skip to content
Browse files
Fix preference window being lowered behind main window when selecting…
… yes/no to overwrite shortcut dialog.
  • Loading branch information
MrStevns committed May 3, 2020
1 parent f4619c6 commit b9ba20e
Showing 1 changed file with 1 addition and 1 deletion.
@@ -95,7 +95,7 @@ void ShortcutsPage::keyCapLineEditTextChanged()

if (isKeySequenceExist(setting, strCmdName, keySeqence))
QMessageBox msgBox;
QMessageBox msgBox(this);
msgBox.setText( tr("Shortcut Conflict!"));
msgBox.setInformativeText( tr("%1 is already used, overwrite?").arg(keySeqence.toString(QKeySequence::NativeText)) );
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);

0 comments on commit b9ba20e

Please sign in to comment.