PsppireSelector: Do not add a default selector func, if an explicit one already exists
[pspp] / src / ui / gui / psppire-selector.c
index 027f31203b64d5ce7559e643c08b1b699fd4fd2b..17d1c1fd66e1c52d1252277d939b897409dccb2d 100644 (file)
@@ -1053,8 +1053,7 @@ psppire_selector_update_subjects (PsppireSelector *selector)
     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);