diff options
-rw-r--r-- | libs/canvas/canvas.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/canvas/canvas.cc b/libs/canvas/canvas.cc index cc588cf3e1..11abd1a7d5 100644 --- a/libs/canvas/canvas.cc +++ b/libs/canvas/canvas.cc @@ -1211,6 +1211,11 @@ GtkCanvas::hide_tooltip () if (tooltip_window) { tooltip_window->hide (); + + // Delete the tooltip window so it'll get re-created + // (i.e. properly re-sized) on the next usage. + delete tooltip_window; + tooltip_window = NULL; } } |