Fixing Window selections wrong
https://github.com/prusa3d/Slic3r/issues/191
Thanks @uclaros
94f60db114
This commit is contained in:
parent
bc7ff623f8
commit
6162670bbd
@ -276,13 +276,16 @@ sub _init_menubar {
|
|||||||
$self->_append_menu_item($windowMenu, "Select &Plater Tab\tCtrl+1", 'Show the plater', sub {
|
$self->_append_menu_item($windowMenu, "Select &Plater Tab\tCtrl+1", 'Show the plater', sub {
|
||||||
$self->select_tab(0);
|
$self->select_tab(0);
|
||||||
}, undef, 'application_view_tile.png');
|
}, undef, 'application_view_tile.png');
|
||||||
|
$tab_offset += 1;
|
||||||
|
}
|
||||||
if (!$self->{no_controller}) {
|
if (!$self->{no_controller}) {
|
||||||
$self->_append_menu_item($windowMenu, "Select &Controller Tab\tCtrl+T", 'Show the printer controller', sub {
|
$self->_append_menu_item($windowMenu, "Select &Controller Tab\tCtrl+T", 'Show the printer controller', sub {
|
||||||
$self->select_tab(1);
|
$self->select_tab(1);
|
||||||
}, undef, 'printer_empty.png');
|
}, undef, 'printer_empty.png');
|
||||||
|
$tab_offset += 1;
|
||||||
}
|
}
|
||||||
|
if ($tab_offset > 0) {
|
||||||
$windowMenu->AppendSeparator();
|
$windowMenu->AppendSeparator();
|
||||||
$tab_offset += 2;
|
|
||||||
}
|
}
|
||||||
$self->_append_menu_item($windowMenu, "Select P&rint Settings Tab\tCtrl+2", 'Show the print settings', sub {
|
$self->_append_menu_item($windowMenu, "Select P&rint Settings Tab\tCtrl+2", 'Show the print settings', sub {
|
||||||
$self->select_tab($tab_offset+0);
|
$self->select_tab($tab_offset+0);
|
||||||
|
Loading…
Reference in New Issue
Block a user