Skip to content

Commit

Permalink
Remove call to on_presets_changed from Tab Page's on_change.
Browse files Browse the repository at this point in the history
(set_dirty is called which handles it anyway.)
  • Loading branch information
sapir committed Mar 29, 2014
1 parent 017158c commit 09d7d9b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Slic3r/GUI/Tab.pm
Expand Up @@ -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);
Expand Down

0 comments on commit 09d7d9b

Please sign in to comment.