1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

Fixed bugs with non-correct update of buttons enable.

Set minimum size for the scrolled_window_panel.
This commit is contained in:
YuSanka
2018-05-21 12:34:31 +02:00
parent 308a0b5709
commit 64b905820d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ sub reload_scene {
$self->set_warning_enabled(0);
$self->volumes->update_outside_state($self->{config}, 1);
Slic3r::GUI::_3DScene::reset_warning_texture();
$self->on_enable_action_buttons->(1) if ($self->on_enable_action_buttons);
$self->on_enable_action_buttons->(scalar @{$self->{model}->objects} > 0) if ($self->on_enable_action_buttons);
}
} else {
$self->set_warning_enabled(0);