Merge pull request #20160 from karliss/popup-parent

Add missing parent for messagbox and other popups.
This commit is contained in:
Chris Hennes
2025-03-17 00:16:49 -05:00
committed by GitHub
22 changed files with 33 additions and 24 deletions

View File

@@ -565,7 +565,7 @@ void DlgMacroExecuteImp::onToolbarButtonClicked()
.GetParameterGroupByPath("User parameter:BaseApp/Preferences/Macro")
->GetBool("ShowWalkthroughMessage", true);
if (showAgain) {
QMessageBox msgBox;
QMessageBox msgBox(this);
QAbstractButton* doNotShowAgainButton =
msgBox.addButton(tr("Do not show again"), QMessageBox::YesRole);
msgBox.setText(tr("Guided Walkthrough"));