Skip to content

Commit

Permalink
Ignore failure to call SetAutoPop when not available. #3596
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Nov 30, 2016
1 parent 6cdff99 commit 2e82fb0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Slic3r/GUI/MainFrame.pm
Expand Up @@ -41,7 +41,8 @@ sub new {

# set default tooltip timer in msec
# SetAutoPop supposedly accepts long integers but some bug doesn't allow for larger values
Wx::ToolTip::SetAutoPop(32767);
# (SetAutoPop is not available on GTK.)
eval { Wx::ToolTip::SetAutoPop(32767) };

# initialize status bar
$self->{statusbar} = Slic3r::GUI::ProgressStatusBar->new($self, -1);
Expand Down

0 comments on commit 2e82fb0

Please sign in to comment.