mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix error of invalid cast to GTK_COMBO_BOX in trans importer
To get to the combobox from the entry you need to go two levels above which takes you through a GTK_BOX to the GTK_COMBO_BOX
This commit is contained in:
parent
ad89048242
commit
56ca411351
@ -731,7 +731,9 @@ CsvImpTransAssist::preview_settings_name (GtkEntry* entry)
|
||||
if (text)
|
||||
tx_imp->settings_name(text);
|
||||
|
||||
auto combo = gtk_widget_get_parent (GTK_WIDGET(entry));
|
||||
auto box = gtk_widget_get_parent (GTK_WIDGET(entry));
|
||||
auto combo = gtk_widget_get_parent (GTK_WIDGET(box));
|
||||
|
||||
preview_handle_save_del_sensitivity (GTK_COMBO_BOX(combo));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user