[gnome-commander/gcmd-1-3] Fixed problem #604558 (cursor lost/placed in wrong position)



commit 070e8bcf3c9cfb5aa65189992edf0e84715bee7e
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Tue Dec 29 21:14:27 2009 +0100

    Fixed problem #604558 (cursor lost/placed in wrong position)

 src/gnome-cmd-file-list.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index 0796096..f9a0519 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -1795,7 +1795,7 @@ void GnomeCmdFileList::focus_file(const gchar *focus_file, gboolean scroll_to_fi
 
 void GnomeCmdFileList::select_row(gint row)
 {
-    focus_file_at_row (this, row==-1 ? priv->cur_file : row);
+    focus_file_at_row (this, row==-1 ? 0 : row);
 }
 
 



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