[gnome-boxes/wip/automated-tests: 9/29] app-window: Ensure selection exit on properties



commit 3e82164d3c79e6cfca38aa7a4c144e0564c98ab1
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Jan 30 16:39:16 2015 +0000

    app-window: Ensure selection exit on properties
    
    Ensure we leave selection-mode when we show properties. This fixes the
    issue of main window remaining in selection mode when going to
    properties from selection mode.

 src/app-window.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index b86e4d3..ae1f0f3 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -221,6 +221,7 @@ private class Boxes.AppWindow: Gtk.ApplicationWindow, Boxes.UI {
     public void show_properties () {
         if (current_item != null) {
             set_state (UIState.PROPERTIES);
+            selection_mode = false;
 
             return;
         }


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