Fix of tooltips on OSX showing on the first page of a parameter tab.

This commit is contained in:
YuSanka 2018-06-27 09:07:04 +02:00 committed by bubnikv
parent 645cc65d2b
commit 5f1f7dcbed
5 changed files with 63 additions and 90 deletions

View file

@ -110,6 +110,10 @@ sub _init_tabpanel {
EVT_NOTEBOOK_PAGE_CHANGED($self, $self->{tabpanel}, sub {
my $panel = $self->{tabpanel}->GetCurrentPage;
$panel->OnActivate if $panel->can('OnActivate');
for my $tab_name (qw(print filament printer)) {
Slic3r::GUI::get_preset_tab("$tab_name")->OnActivate if ("$tab_name" eq $panel->GetName);
}
});
if (!$self->{no_plater}) {