[banshee: 5/61] [Nereid] Don't steal s presses if search hidden



commit 69dcbc434221593ebe2645e823a4a829d98b64ab
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Wed Oct 7 14:37:04 2009 -0700

    [Nereid] Don't steal s presses if search hidden

 src/Clients/Nereid/Nereid/PlayerInterface.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Clients/Nereid/Nereid/PlayerInterface.cs b/src/Clients/Nereid/Nereid/PlayerInterface.cs
index 73b8216..eb8f116 100644
--- a/src/Clients/Nereid/Nereid/PlayerInterface.cs
+++ b/src/Clients/Nereid/Nereid/PlayerInterface.cs
@@ -498,7 +498,7 @@ namespace Nereid
                     break;
             }
 
-            if (focus_search && !view_container.SearchEntry.HasFocus && !source_view.EditingRow) {
+            if (focus_search && view_container.SearchEntry.Visible && !view_container.SearchEntry.HasFocus && !source_view.EditingRow) {
                 view_container.SearchEntry.HasFocus = true;
                 return true;
             }



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