[gnome-boxes] app-window: Ensure selection exit on properties



commit 3dc2b36728cd4be747c1840b94620afc7393ed05
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 6d2ab7e..57c3f80 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) {
+            selection_mode = false;
             set_state (UIState.PROPERTIES);
 
             return;


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