From 1addaff034377abb62806429f1410f76665ab2c8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 17 Dec 2009 18:07:14 -0700 Subject: [PATCH] ... --- src/calibre/gui2/convert/xpath_wizard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/convert/xpath_wizard.py b/src/calibre/gui2/convert/xpath_wizard.py index 21c8aded06..e34453e5db 100644 --- a/src/calibre/gui2/convert/xpath_wizard.py +++ b/src/calibre/gui2/convert/xpath_wizard.py @@ -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