mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 06:35:58 +08:00
Fix regression from 35fc1de which hides settings from PresetEditor
but leaves Controller tab always visible
This commit is contained in:
parent
8f789da99f
commit
b93bf2a116
@ -99,9 +99,7 @@ sub _init_tabpanel {
|
||||
});
|
||||
|
||||
$panel->AddPage($self->{plater} = Slic3r::GUI::Plater->new($panel), "Plater");
|
||||
if (!$self->{no_controller}) {
|
||||
$panel->AddPage($self->{controller} = Slic3r::GUI::Controller->new($panel), "Controller");
|
||||
}
|
||||
$panel->AddPage($self->{controller} = Slic3r::GUI::Controller->new($panel), "Controller") unless ($Slic3r::GUI::Settings->{_}{no_controller});
|
||||
}
|
||||
|
||||
sub _init_menubar {
|
||||
@ -259,7 +257,7 @@ sub _init_menubar {
|
||||
}, undef, 'application_view_tile.png');
|
||||
$self->_append_menu_item($windowMenu, "&Controller\tCtrl+Y", 'Show the printer controller', sub {
|
||||
$self->select_tab(1);
|
||||
}, undef, 'printer_empty.png') if !$self->{no_controller};
|
||||
}, undef, 'printer_empty.png') unless ($Slic3r::GUI::Settings->{_}{no_controller});
|
||||
$self->_append_menu_item($windowMenu, "DLP Projector…\tCtrl+P", 'Open projector window for DLP printing', sub {
|
||||
$self->{plater}->pause_background_process;
|
||||
Slic3r::GUI::SLAPrintOptions->new($self)->ShowModal;
|
||||
|
Loading…
x
Reference in New Issue
Block a user