mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
7a2a5bbdd9
commit
eac3ae43e9
@ -71,7 +71,7 @@ class FilenamePattern(QWidget, Ui_Form): # {{{
|
||||
self.re.lineEdit().textChanged.connect(lambda x: self.changed_signal.emit())
|
||||
|
||||
def initialize(self, defaults=False):
|
||||
# Get all items in the combobox. If we are resting
|
||||
# Get all items in the combobox. If we are reseting
|
||||
# to defaults we don't want to lose what the user
|
||||
# has added.
|
||||
val_hist = [unicode(self.re.lineEdit().text())] + [unicode(self.re.itemText(i)) for i in xrange(self.re.count())]
|
||||
|
Loading…
x
Reference in New Issue
Block a user