Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.4, 2.0.5, and 2.1

stable chunks: clear diff browser when context is empty (closes #516)

Changeset 286844273f5a

Parent 754605a9f2b2

by Steve Borho

Changes to one file · Browse files at 286844273f5a Showing diff from parent 754605a9f2b2 Diff from another changeset...

 
370
371
372
 
 
 
 
373
374
375
 
370
371
372
373
374
375
376
377
378
379
@@ -370,6 +370,10 @@
  empty = len(ctx.files()) == 0   self.fileModelEmpty.emit(empty)   self.fileSelected.emit(not empty) + if empty: + self.currentFile = None + self.diffbrowse.clearDisplay() + self.diffbrowse.clearChunks()   self.diffbrowse.updateSummary()     def refresh(self):