mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
d6c36c0bbb
commit
1addaff034
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user