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

settings: prompt before reload if dirty

Changeset 576ca1a79fa8

Parent bc4abde7de03

by Steve Borho

Changes to one file · Browse files at 576ca1a79fa8 Showing diff from parent bc4abde7de03 Diff from another changeset...

 
457
458
459
460
461
 
 
462
463
464
 
465
466
467
 
551
552
553
554
 
555
556
557
 
457
458
459
 
 
460
461
462
463
 
464
465
466
467
 
551
552
553
 
554
555
556
557
@@ -457,11 +457,11 @@
  self.confcombo = combo     edit = QPushButton(_('Edit File')) - refresh = QPushButton(_('Reload')) - refresh.pressed.connect(self.refresh) + reload = QPushButton(_('Reload')) + reload.pressed.connect(self.reloadClicked)   tophbox.addWidget(combo)   tophbox.addWidget(edit) - tophbox.addWidget(refresh) + tophbox.addWidget(reload)   tophbox.addStretch(1)     bothbox = QHBoxLayout() @@ -551,7 +551,7 @@
  return True   return False   - def reloadClicked(self, button): + def reloadClicked(self):   if self.isDirty():   d = QMessageBox.question(self, _('Confirm Reload'),   _('Unsaved changes will be lost.\n'