This commit is contained in:
Kovid Goyal 2009-12-17 18:07:14 -07:00
parent d6c36c0bbb
commit 1addaff034

View File

@ -81,7 +81,7 @@ class XPathEdit(QWidget, Ui_Edit):
@property
def text(self):
return unicode(self.edit.currentText())
return unicode(self.edit.text())
@property
def xpath(self):
@ -107,3 +107,4 @@ if __name__ == '__main__':
w.setObjectName('test')
w.show()
app.exec_()
print w.xpath