From 99b749f214affdb3d7fe590f675ea23ba9d7fb23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20=C4=8Cernock=C3=BD?= Date: Thu, 25 Feb 2016 14:02:47 +0100 Subject: [PATCH] Show changes immediately after rotate/flip --- src/label.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/src/label.c b/src/label.c index 73db822e..0027ef76 100644 --- a/src/label.c +++ b/src/label.c @@ -1451,9 +1451,11 @@ gl_label_rotate_selection (glLabel *label, gl_label_object_rotate (object, theta_degs); } - g_list_free (selection_list); + g_list_free (selection_list); - end_selection_op (label); + do_modify (label); + + end_selection_op (label); gl_debug (DEBUG_LABEL, "END"); } @@ -1486,9 +1488,11 @@ gl_label_rotate_selection_left (glLabel *label) gl_label_object_rotate (object, -90.0); } - g_list_free (selection_list); + g_list_free (selection_list); - end_selection_op (label); + do_modify (label); + + end_selection_op (label); gl_debug (DEBUG_LABEL, "END"); } @@ -1521,9 +1525,11 @@ gl_label_rotate_selection_right (glLabel *label) gl_label_object_rotate (object, 90.0); } - g_list_free (selection_list); + g_list_free (selection_list); - end_selection_op (label); + do_modify (label); + + end_selection_op (label); gl_debug (DEBUG_LABEL, "END"); } @@ -1556,9 +1562,11 @@ gl_label_flip_selection_horiz (glLabel *label) gl_label_object_flip_horiz (object); } - g_list_free (selection_list); + g_list_free (selection_list); - end_selection_op (label); + do_modify (label); + + end_selection_op (label); gl_debug (DEBUG_LABEL, "END"); } @@ -1591,9 +1599,11 @@ gl_label_flip_selection_vert (glLabel *label) gl_label_object_flip_vert (object); } - g_list_free (selection_list); + g_list_free (selection_list); - end_selection_op (label); + do_modify (label); + + end_selection_op (label); gl_debug (DEBUG_LABEL, "END"); } -- 2.39.2