This commit is contained in:
Kovid Goyal 2014-07-02 18:20:38 +05:30
parent 7a2a5bbdd9
commit eac3ae43e9

View File

@ -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())]