Fix bug #826038: Scene break character pattern not saved.

This commit is contained in:
John Schember 2011-08-14 19:35:07 -04:00
parent dae4b7cfa6
commit ab15a9c3f8

View File

@ -72,10 +72,11 @@ class HeuristicsWidget(Widget, Ui_Form):
return True
def load_histories(self):
val = unicode(self.opt_replace_scene_breaks.currentText())
self.opt_replace_scene_breaks.clear()
self.opt_replace_scene_breaks.lineEdit().setText('')
val = unicode(self.opt_replace_scene_breaks.currentText())
rssb_hist = gprefs.get('replace_scene_breaks_history', self.rssb_defaults)
if val in rssb_hist:
del rssb_hist[rssb_hist.index(val)]