From 0882b8c58efa78d9888c7a69877451d7683f4a68 Mon Sep 17 00:00:00 2001 From: Piyush Mishra Date: Sun, 16 Jan 2022 17:25:22 +0530 Subject: [PATCH] useless comments --- src/draw_thread.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/draw_thread.rs b/src/draw_thread.rs index 386dc94..34e51c8 100644 --- a/src/draw_thread.rs +++ b/src/draw_thread.rs @@ -71,7 +71,6 @@ pub(crate) fn spawn_image_thread( match val { DrawMessage::Open => { status.set_label("Loading..."); - // win.deactivate(); load_image( &mut file_choice, Arc::clone(&images_path), @@ -93,13 +92,11 @@ pub(crate) fn spawn_image_thread( &properties, &mut _container, ); - // win.activate(); status.set_label(""); status.set_label(""); } DrawMessage::ChangeCrop((x, y)) => { status.set_label("Loading..."); - // win.deactivate(); load_image( &mut file_choice, Arc::clone(&images_path), @@ -121,7 +118,6 @@ pub(crate) fn spawn_image_thread( &properties, &mut _container, ); - // win.activate(); status.set_label(""); } DrawMessage::Recalc => {