From 8b2f27c833a55f188e260df04b5b3000dd88a2e5 Mon Sep 17 00:00:00 2001 From: Shawn Laffan Date: Sun, 1 Nov 2020 10:44:31 +1100 Subject: [PATCH] Wrap failing tooltip call in an eval, warn to fix later Updates #770 --- lib/Biodiverse/GUI/ParametersTable.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/Biodiverse/GUI/ParametersTable.pm b/lib/Biodiverse/GUI/ParametersTable.pm index 8159b4c5e..5140c7c17 100644 --- a/lib/Biodiverse/GUI/ParametersTable.pm +++ b/lib/Biodiverse/GUI/ParametersTable.pm @@ -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;