mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Tab shortcut key to switch between prepare/preview tab
#383 (cherry picked from commit 93f3d8b0cecaa13fa3f3ab5fc483cfb8ac4852c4)
This commit is contained in:
parent
d535d70d03
commit
2131c658d8
4 changed files with 13 additions and 9 deletions
|
@ -321,10 +321,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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue