psppire-dialog-action-var-info: Only allow "Jump To" with one variable.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 1 Sep 2014 00:57:29 +0000 (17:57 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 1 Sep 2014 00:57:29 +0000 (17:57 -0700)
commit491cd3744c11da45ac6e41c734e4a33c19b060c9
treea3cfbbb30d9c88c42c4e40af677d90dc5d3e6b4f
parent3e98eec9f2c774a7c695944c15de651ecd120430
psppire-dialog-action-var-info: Only allow "Jump To" with one variable.

Until now, when at least one variable was selected, the user could click
on "Jump To", which would jump to the first selected variable.  This commit
changes behavior so that "Jump To" is only enabled when exactly one
variable is selected, which makes it a lot less confusing about which
variable will be jumped to.

Suggested by Bastián Díaz <diaz.bastian@ymail.com> .
src/ui/gui/psppire-dialog-action-var-info.c