From 50924e9354c5e650a46c8b3b9fe99239d4e88735 Mon Sep 17 00:00:00 2001 From: Piyush Mishra Date: Fri, 4 Feb 2022 02:04:08 +0530 Subject: [PATCH] Redraw after activate --- src/draw_thread.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/draw_thread.rs b/src/draw_thread.rs index c34e418..3f98dec 100644 --- a/src/draw_thread.rs +++ b/src/draw_thread.rs @@ -170,6 +170,7 @@ pub(crate) fn spawn_image_thread( win.deactivate(); cont.save(); win.activate(); + win.redraw(); status.set_label(""); } } @@ -192,6 +193,7 @@ pub(crate) fn spawn_image_thread( } status.set_label(""); win.activate(); + win.redraw(); } } DrawMessage::Delete => { @@ -209,6 +211,7 @@ pub(crate) fn spawn_image_thread( } status.set_label(""); win.activate(); + win.redraw(); } } }