Fixed an issue that Orcaslicer didn't jumping to device tab after sending job #520 #567 #1044 #1047

This commit is contained in:
SoftFever 2023-05-14 00:31:31 +08:00
parent 56f8552dab
commit 938d25ef50

View file

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