mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 17:58:03 -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
|
@ -2828,12 +2828,13 @@ void Plater::priv::select_view_3D(const std::string& name, bool no_slice)
|
|||
|
||||
void Plater::priv::select_next_view_3D()
|
||||
{
|
||||
|
||||
if (current_panel == view3D)
|
||||
set_current_panel(preview);
|
||||
wxGetApp().mainframe->select_tab(size_t(MainFrame::tpPreview));
|
||||
else if (current_panel == preview)
|
||||
set_current_panel(assemble_view);
|
||||
else if (current_panel == assemble_view)
|
||||
set_current_panel(view3D);
|
||||
wxGetApp().mainframe->select_tab(size_t(MainFrame::tp3DEditor));
|
||||
// else if (current_panel == assemble_view)
|
||||
// set_current_panel(view3D);
|
||||
}
|
||||
|
||||
void Plater::priv::collapse_sidebar(bool collapse)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue