mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Initialize depth variable in tree view keynav before using it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13850 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-04-25 Andreas Köhler <andi5.py@gmx.net>
|
||||
|
||||
* src/gnome-utils/gnc-tree-view.c: Initialize depth variable in
|
||||
tree view keynav before using it.
|
||||
|
||||
2006-04-25 David Hampton <hampton@employees.org>
|
||||
|
||||
* src/scm/process.scm: Handle the failure to fork a child process
|
||||
|
||||
@@ -2166,6 +2166,7 @@ gnc_tree_view_keynav(GncTreeView *view, GtkTreeViewColumn **col,
|
||||
if (gtk_tree_view_row_expanded(tv, path)) {
|
||||
gtk_tree_path_down(path);
|
||||
} else {
|
||||
depth = gtk_tree_path_get_depth(path);
|
||||
gtk_tree_path_next(path);
|
||||
if (!gnc_tree_view_path_is_valid(view, path) && depth > 1) {
|
||||
gtk_tree_path_prev(path);
|
||||
|
||||
Reference in New Issue
Block a user