Skip to content

Commit

Permalink
GUI: simplify autoremap tooltip text
Browse files Browse the repository at this point in the history
Updates #770
  • Loading branch information
shawnlaffan committed Nov 1, 2020
1 parent 6c585cd commit 3ba6567
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/Biodiverse/GUI/RemapGUI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1114,8 +1114,10 @@ sub add_header_and_tooltip_to_treeview_column {

$column->set_widget($header);

my $tooltip = Gtk3::Tooltip->new();
$tooltip->set_text( $header, $args{tooltip_text} );
if ($args{tooltip_text}) {
$header->set_tooltip_text ($args{tooltip_text});
}

}


Expand Down

0 comments on commit 3ba6567

Please sign in to comment.