Fixed Tables on GTK+ not updating properly. Should have done this ages ago, argh
This commit is contained in:
parent
6c20a3a8bf
commit
95dc0a87b5
|
@ -257,7 +257,7 @@ void tableUpdate(goTableModel *t, gint old, gint new)
|
||||||
for (i = 0; i < nUpdate; i++) {
|
for (i = 0; i < nUpdate; i++) {
|
||||||
path = gtk_tree_path_new_from_indices(i, -1);
|
path = gtk_tree_path_new_from_indices(i, -1);
|
||||||
iter.user_data = TO(i);
|
iter.user_data = TO(i);
|
||||||
g_signal_emit_by_name(t, "row-updated", path, &iter);
|
g_signal_emit_by_name(t, "row-changed", path, &iter);
|
||||||
}
|
}
|
||||||
// finally, remove deleted items
|
// finally, remove deleted items
|
||||||
if (old > new)
|
if (old > new)
|
||||||
|
|
Loading…
Reference in New Issue