Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

hgemail: update form values when user changed them via settings dialog

Changeset ebe8a87050d1

Parent 3bc81bfa6f34

by Yuya Nishihara

Changes to one file · Browse files at ebe8a87050d1 Showing diff from parent 3bc81bfa6f34 Diff from another changeset...

 
329
330
331
332
333
 
 
 
 
 
334
335
336
 
329
330
331
 
 
332
333
334
335
336
337
338
339
@@ -329,8 +329,11 @@
  @pyqtSlot()   def on_settings_button_clicked(self):   from tortoisehg.hgqt import settings - settings.SettingsDialog(parent=self, focus='email.from').exec_() - # TODO: update form values and ui appropriately + if settings.SettingsDialog(parent=self, focus='email.from').exec_(): + # not use repo.configChanged because it can clobber user input + # accidentally. + self._repo.invalidateui() # force reloading config immediately + self._filldefaults()    class _ChangesetsModel(QAbstractTableModel): # TODO: use component of log viewer?   _COLUMNS = [('rev', lambda ctx: '%d:%s' % (ctx.rev(), ctx)),