projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fail more gracefully when selecting cells out of range
[pspp]
/
src
/
ui
/
gui
/
psppire-selector.c
diff --git
a/src/ui/gui/psppire-selector.c
b/src/ui/gui/psppire-selector.c
index 027f31203b64d5ce7559e643c08b1b699fd4fd2b..17d1c1fd66e1c52d1252277d939b897409dccb2d 100644
(file)
--- a/
src/ui/gui/psppire-selector.c
+++ b/
src/ui/gui/psppire-selector.c
@@
-1053,8
+1053,7
@@
psppire_selector_update_subjects (PsppireSelector *selector)
g_error ("Unsupported destination widget: %s", G_OBJECT_TYPE_NAME (selector->dest));
g_error ("Unsupported destination widget: %s", G_OBJECT_TYPE_NAME (selector->dest));
- /* FIXME: Remove this dependency */
- if ( PSPPIRE_IS_DICT_VIEW (selector->source) )
+ if ( PSPPIRE_IS_DICT_VIEW (selector->source) && selector->select_items == NULL)
{
GObjectClass *class = G_OBJECT_GET_CLASS (selector);
GType type = G_OBJECT_TYPE (selector->dest);
{
GObjectClass *class = G_OBJECT_GET_CLASS (selector);
GType type = G_OBJECT_TYPE (selector->dest);