mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix problem selecting quote source.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8299 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8f1702d627
commit
f7ae1b2de5
@ -515,7 +515,7 @@ gnc_ui_commodity_quote_cb (GtkWidget *w, gpointer data)
|
||||
get_quote = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w));
|
||||
|
||||
text = gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(cw->namespace_combo)->entry));
|
||||
allow_src = gnc_commodity_namespace_is_iso(text);
|
||||
allow_src = !gnc_commodity_namespace_is_iso(text);
|
||||
gtk_widget_set_sensitive(cw->source_label, get_quote && allow_src);
|
||||
gtk_widget_set_sensitive(cw->source_menu, get_quote && allow_src);
|
||||
gtk_widget_set_sensitive(cw->quote_tz_label, get_quote);
|
||||
|
Loading…
Reference in New Issue
Block a user