[gnome-photos] tool-crop: Reset should revert to the initial state



commit 413f9483bee4472dfda5be6f008f32da84e0852b
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Nov 27 17:44:16 2015 +0100

    tool-crop: Reset should revert to the initial state
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758227

 src/photos-tool-crop.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-tool-crop.c b/src/photos-tool-crop.c
index c6d2277..a0468cc 100644
--- a/src/photos-tool-crop.c
+++ b/src/photos-tool-crop.c
@@ -879,6 +879,7 @@ static void
 photos_tool_crop_reset_clicked (PhotosToolCrop *self)
 {
   self->reset = TRUE;
+  photos_tool_crop_set_active (self, -1);
   g_signal_emit_by_name (self, "hide-requested");
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]