projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-dialog-action-var-info: Only allow "Jump To" with one variable.
[pspp]
/
src
/
ui
/
gui
/
psppire-dialog-action-var-info.c
diff --git
a/src/ui/gui/psppire-dialog-action-var-info.c
b/src/ui/gui/psppire-dialog-action-var-info.c
index a638be441fb6e17df561179122b92e3a59d1a795..d6b974f6877975b9a2952cd93d76e3b38d67b552 100644
(file)
--- a/
src/ui/gui/psppire-dialog-action-var-info.c
+++ b/
src/ui/gui/psppire-dialog-action-var-info.c
@@
-52,7
+52,7
@@
treeview_item_selected (gpointer data)
GtkTreeView *tv = GTK_TREE_VIEW (pda->source);
GtkTreeSelection *selection = gtk_tree_view_get_selection (tv);
GtkTreeView *tv = GTK_TREE_VIEW (pda->source);
GtkTreeSelection *selection = gtk_tree_view_get_selection (tv);
- return gtk_tree_selection_count_selected_rows (selection)
> 0
;
+ return gtk_tree_selection_count_selected_rows (selection)
== 1
;
}
static gchar *
}
static gchar *