From 938d25ef50b1bda803f8951f7a3f59d930ad96f5 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Sun, 14 May 2023 00:31:31 +0800 Subject: [PATCH] Fixed an issue that Orcaslicer didn't jumping to device tab after sending job #520 #567 #1044 #1047 --- src/slic3r/GUI/MainFrame.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index 9a618e3a0f..57163a0c52 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -331,10 +331,10 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, BORDERLESS_FRAME_ }); //BBS - // Bind(EVT_SELECT_TAB, [this](wxCommandEvent&evt) { - // TabPosition pos = (TabPosition)evt.GetInt(); - // m_tabpanel->SetSelection(pos); - // }); + Bind(EVT_SELECT_TAB, [this](wxCommandEvent&evt) { + TabPosition pos = (TabPosition)evt.GetInt(); + m_tabpanel->SetSelection(pos); + }); Bind(EVT_SYNC_CLOUD_PRESET, &MainFrame::on_select_default_preset, this);