Remove call to on_presets_changed from Tab Page's on_change.

(set_dirty is called which handles it anyway.)
This commit is contained in:
Y. Sapir 2014-03-30 00:21:57 +03:00
parent 017158c877
commit 09d7d9b034

View File

@ -268,7 +268,6 @@ sub add_options_page {
my $page = Slic3r::GUI::Tab::Page->new($self, $title, $self->{iconcount}, %params, on_change => sub {
$self->on_value_change(@_);
$self->set_dirty(1);
$self->on_presets_changed;
});
$page->Hide;
$self->{sizer}->Add($page, 1, wxEXPAND | wxLEFT, 5);