mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Andreas Köhler's patch to fix commodity editor warnings/crash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13037 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2006-01-29 David Hampton <hampton@employees.org>
|
||||
|
||||
* gnc-tree-model-commodity.c: Andreas Köhler's patch to fix
|
||||
commodity editor warnings/crash.
|
||||
|
||||
2006-01-29 Joshua Sled <jsled@asynchronous.org>
|
||||
|
||||
* src/report/utility-reports/welcome-to-gnucash.scm: register
|
||||
|
||||
@@ -1052,7 +1052,7 @@ gnc_tree_model_commodity_path_changed (GncTreeModelCommodity *model,
|
||||
GtkTreeIter iter;
|
||||
|
||||
debug_path(ENTER, path);
|
||||
if (gtk_tree_path_up (path)) {
|
||||
if (gtk_tree_path_up (path) && gtk_tree_path_get_depth (path) > 0) {
|
||||
debug_path(DEBUG, path);
|
||||
gtk_tree_model_get_iter (GTK_TREE_MODEL(model), &iter, path);
|
||||
DEBUG("iter %s", iter_to_string(&iter));
|
||||
|
||||
Reference in New Issue
Block a user