File menu on Win should use 'Exit' instead of 'Quit' (#8182)

This commit is contained in:
Lukas Matena 2022-04-13 08:33:11 +02:00
parent fe3a58b93e
commit d7c1d0767f

View File

@ -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");
}