Fixed bugs with non-correct update of buttons enable.

Set minimum size for the scrolled_window_panel.
This commit is contained in:
YuSanka committed 2018-05-21 12:34:31 +02:00
1 parent 308a0b5709
commit 64b905820d
2 files changed
+2 -1

No files matched your search

+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);