Skip to content

Commit

Permalink
Wrap failing tooltip call in an eval, warn to fix later
Browse files Browse the repository at this point in the history
Updates #770
  • Loading branch information
shawnlaffan committed Oct 31, 2020
1 parent e2430fc commit 8b2f27c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/Biodiverse/GUI/ParametersTable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,14 @@ sub fill {
}
}

$tooltip_group->enable();
# tooltip group not working yet under Gtk3 - flag to fix later
eval {
$tooltip_group->enable();
};
if ($@) {
warn $@;
warn "Moving on\n";
}

$self->{extractors} = \@extract_closures;
$self->{widgets} = \@widgets;
Expand Down

0 comments on commit 8b2f27c

Please sign in to comment.