[dia] Ensure menu update after leaving text edit with Esc, bug #581499



commit ed965410d95d6bc9c574796aaad4489380769adb
Author: Hans Breuer <hans breuer org>
Date:   Sun May 10 17:22:45 2009 +0200

    Ensure menu update after leaving text edit with Esc, bug #581499
---
 app/disp_callbacks.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/app/disp_callbacks.c b/app/disp_callbacks.c
index 371eecd..71c8dc7 100644
--- a/app/disp_callbacks.c
+++ b/app/disp_callbacks.c
@@ -800,6 +800,7 @@ ddisplay_canvas_events (GtkWidget *canvas,
 		  case GDK_Escape:
 		    textedit_deactivate_focus();
 		    tool_reset ();
+		    ddisplay_do_update_menu_sensitivity(ddisp);
 		    break;
 		  default:
 		    /*! key event not swallowed by the input method ? */



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