mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix the edit price to properly check the number of selected prices.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12142 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
b809e86dc0
commit
4e6f652733
@ -1,5 +1,8 @@
|
|||||||
2005-12-06 David Hampton <hampton@employees.org>
|
2005-12-06 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
|
* src/gnome/dialog-price-edit-db.c: Fix the edit price to properly
|
||||||
|
check the number of selected prices.
|
||||||
|
|
||||||
* lib/goffice-0.0.4/goffice/gtk/go-combo-text.c: Comment out
|
* lib/goffice-0.0.4/goffice/gtk/go-combo-text.c: Comment out
|
||||||
function that does nothing except generate a compiler warning.
|
function that does nothing except generate a compiler warning.
|
||||||
|
|
||||||
|
@ -124,8 +124,9 @@ gnc_prices_dialog_edit_clicked (GtkWidget *widget, gpointer data)
|
|||||||
LEAVE("no price selected");
|
LEAVE("no price selected");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (g_list_next(!price_list)) {
|
if (g_list_next(price_list)) {
|
||||||
LEAVE("soo many prices selected");
|
g_list_free(price_list);
|
||||||
|
LEAVE("too many prices selected");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user