Use tuple value in selection widget for model field to ensure compatibility with M2O
This commit is contained in:
1 parent
f66f71317c
commit
5cea03270b
1 file changed
+1
-1
@@ -89,7 +89,7 @@ class Selection(WidgetInterface):
|
||||
def value_get(self):
|
||||
child = self.entry.get_child()
|
||||
res = child.get_text()
|
||||
return self._selection.get(res, False)
|
||||
return self._selection.get(res, False), res
|
||||
|
||||
def sig_key_press(self, widget, event):
|
||||
if event.type == gtk.gdk.KEY_PRESS \
|
||||
|
||||
Reference in new issue
Block a user