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



commit 53fd51bbdc4fcaf71a4d13c66c6222013b76d433
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..65df4ef 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -220,6 +220,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]