From d7c1d0767f04255d0e6ed8a52bf76a7e4dff8362 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Wed, 13 Apr 2022 08:33:11 +0200 Subject: [PATCH] File menu on Win should use 'Exit' instead of 'Quit' (#8182) --- src/slic3r/GUI/MainFrame.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index cc2e07f692..ec4d012b24 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -1307,7 +1307,11 @@ void MainFrame::init_menubar_as_editor() append_menu_item(fileMenu, wxID_ANY, _L("&G-code Preview") + dots, _L("Open G-code viewer"), [this](wxCommandEvent&) { start_new_gcodeviewer_open_file(this); }, "", nullptr); fileMenu->AppendSeparator(); - append_menu_item(fileMenu, wxID_EXIT, _L("&Quit"), wxString::Format(_L("Quit %s"), SLIC3R_APP_NAME), + #ifdef _WIN32 + append_menu_item(fileMenu, wxID_EXIT, _L("E&xit"), wxString::Format(_L("Exit %s"), SLIC3R_APP_NAME), + #else + append_menu_item(fileMenu, wxID_EXIT, _L("&Quit"), wxString::Format(_L("Quit %s"), SLIC3R_APP_NAME), + #endif [this](wxCommandEvent&) { Close(false); }, "exit"); }