mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d6c36c0bbb
commit
1addaff034
@ -81,7 +81,7 @@ class XPathEdit(QWidget, Ui_Edit):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def text(self):
|
def text(self):
|
||||||
return unicode(self.edit.currentText())
|
return unicode(self.edit.text())
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def xpath(self):
|
def xpath(self):
|
||||||
@ -107,3 +107,4 @@ if __name__ == '__main__':
|
|||||||
w.setObjectName('test')
|
w.setObjectName('test')
|
||||||
w.show()
|
w.show()
|
||||||
app.exec_()
|
app.exec_()
|
||||||
|
print w.xpath
|
||||||
|
Loading…
x
Reference in New Issue
Block a user