mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[assistant-stock-transaction] disallow selection in summary table
... because selection hides the red color from last commit. There's no action attached to selection in the treeview. It can be disabled.
This commit is contained in:
parent
596ff26928
commit
9a8bc8f7e5
@ -1236,6 +1236,8 @@ get_treeview (GtkBuilder *builder, const gchar *treeview_label)
|
||||
G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
|
||||
G_TYPE_STRING, G_TYPE_STRING);
|
||||
gtk_tree_view_set_model(view, GTK_TREE_MODEL(store));
|
||||
gtk_tree_selection_set_mode (gtk_tree_view_get_selection (view),
|
||||
GTK_SELECTION_NONE);
|
||||
g_object_unref(store);
|
||||
|
||||
auto renderer = gtk_cell_renderer_text_new();
|
||||
|
Loading…
Reference in New Issue
Block a user