Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2021-02-04 18:45:23 +0300
committerYuSanka <yusanka@gmail.com>2021-02-04 18:45:23 +0300
commit132d75d7d333fded1737d37c662f36dfb9306738 (patch)
tree9a0f57e7cc4007d77b404c2f89879fe968760f79
parentd1dfbb31abff520a429783e35c6a6658b3f290f5 (diff)
Fix for #5937ys_5937
-rw-r--r--src/slic3r/GUI/MainFrame.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp
index 9c30ac330..62e878e2b 100644
--- a/src/slic3r/GUI/MainFrame.cpp
+++ b/src/slic3r/GUI/MainFrame.cpp
@@ -854,7 +854,7 @@ void MainFrame::on_sys_color_changed()
#ifdef _MSC_VER
// \xA0 is a non-breaking space. It is entered here to spoil the automatic accelerators,
// as the simple numeric accelerators spoil all numeric data entry.
-static const wxString sep = "\t\xA0";
+static const wxString sep = " \t\xA0";
static const wxString sep_space = "\xA0";
#else
static const wxString sep = " - ";
@@ -1206,6 +1206,8 @@ void MainFrame::init_menubar_as_editor()
append_menu_check_item(viewMenu, wxID_ANY, _L("Show &labels") + sep + "E", _L("Show object/instance labels in 3D scene"),
[this](wxCommandEvent&) { m_plater->show_view3D_labels(!m_plater->are_view3D_labels_shown()); }, this,
[this]() { return m_plater->is_view3D_shown(); }, [this]() { return m_plater->are_view3D_labels_shown(); }, this);
+ // Note: Use of "sep + "Shift+" + sep_space + "Tab"" instead of "\tShift+Tab" is very important here.
+ // !!! If we will use "\tShift+Tab", then "Shift+Tab" doesn't work on Settings tabs
append_menu_check_item(viewMenu, wxID_ANY, _L("&Collapse sidebar") + sep + "Shift+" + sep_space + "Tab", _L("Collapse sidebar"),
[this](wxCommandEvent&) { m_plater->collapse_sidebar(!m_plater->is_sidebar_collapsed()); }, this,
[]() { return true; }, [this]() { return m_plater->is_sidebar_collapsed(); }, this);