Author: reinhard Date: 2009-10-26 18:23:33 -0500 (Mon, 26 Oct 2009) New Revision: 10010
Modified: trunk/gnue-forms/src/uidrivers/qt3/widgets/entry.py Log: Fixed reference to _gfObject. Modified: trunk/gnue-forms/src/uidrivers/qt3/widgets/entry.py =================================================================== --- trunk/gnue-forms/src/uidrivers/qt3/widgets/entry.py 2009-10-26 22:16:56 UTC (rev 10009) +++ trunk/gnue-forms/src/uidrivers/qt3/widgets/entry.py 2009-10-26 23:23:33 UTC (rev 10010) @@ -460,7 +460,8 @@ # Find the widget this label belongs to for (index, item) in enumerate(self.ui_widget.widgets): if item._gnue_label_ == self: - if item.isEnabled() and self._gfObject.style.lower() != 'label': + if item.isEnabled() and \ + self.ui_widget._gfObject.style.lower() != 'label': # This replaces the label with the actual entry and sets # the focus on the entry self.ui_widget._gfObject.set_focus(index) @@ -468,8 +469,7 @@ else: # This entry is not focusable, so we at least move the # database cursor to the record behind this entry. - self._gfObject._event_jump_records( - self.widgets.index(item)) + self.ui_widget._gfObject._event_jump_records(index) break _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue