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

sync: do not switch away from sync widget if target checkbox is checked

In sync widget, selecting a revision implicitly sets the target revision
if the target checkbox is checked.

Note that the user *still* can force the switch to the revision details widget
(by using for example the toolbar button). The switch is just no longer implicit
with the selection of a revision *iff* the target checkbox is checked.

Changeset 35482ed9360d

Parent f2f338aa6a61

by Adrian Buehlmann

Changes to one file · Browse files at 35482ed9360d Showing diff from parent f2f338aa6a61 Diff from another changeset...

 
281
282
283
 
 
 
284
285
286
 
281
282
283
284
285
286
287
288
289
@@ -281,6 +281,9 @@
  self.setUrl('')   self.curalias = None   + def canswitch(self): + return not self.targetcheckbox.isChecked() +   def refreshStatusTips(self):   url = self.currentUrl(True)   urlu = hglib.tounicode(url)