From 44c73fdd5b0892b11a6ea9129519f450fdf10d54 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Mon, 10 Nov 2025 16:08:21 -0600 Subject: [PATCH] Gui: Restore 'Exit' menu text for Linux/Windows Only macOS appears to set the text based on the menu item's role. --- src/Gui/CommandDoc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/CommandDoc.cpp b/src/Gui/CommandDoc.cpp index d090e36132..870cecff0d 100644 --- a/src/Gui/CommandDoc.cpp +++ b/src/Gui/CommandDoc.cpp @@ -986,7 +986,7 @@ StdCmdQuit::StdCmdQuit() :Command("Std_Quit") { sGroup = "File"; - // sMenuText = No menu text here, Qt sets it based on QAction::QuitRole + sMenuText = QT_TR_NOOP("E&xit"); sToolTipText = QT_TR_NOOP("Quits the application"); sWhatsThis = "Std_Quit"; sStatusTip = sToolTipText;