Skip to content

Commit

Permalink
Ignore failure to call SetAutoPop when not available. #3596 @alexrj 2…
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel authored and bubnikv committed Dec 8, 2016
1 parent a8930f1 commit 9c0c056
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Slic3r/GUI/MainFrame.pm
Expand Up @@ -42,6 +42,11 @@ sub new {
$self->_init_tabpanel;
$self->_init_menubar;

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

# initialize status bar
$self->{statusbar} = Slic3r::GUI::ProgressStatusBar->new($self, -1);
$self->{statusbar}->SetStatusText("Version $Slic3r::VERSION - Remember to check for updates at http://github.com/prusa3d/slic3r/releases");
Expand Down

0 comments on commit 9c0c056

Please sign in to comment.