1. timeless
  2. thg


Angel Ezquerra  committed bbe09b6

clone: Set the focus to the dest combobox after browsing for a source repository

The normal flow when using the clone dialog is to first select a source
repository and then select where it will be cloned to. Thus it makes sense
to move the focus to the destination combobox when the user selects a valid
source repository.

  • Participants
  • Parent commits 5ac2cdc
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/clone.py

View file
             self.src_combo.currentText(), QFileDialog.ShowDirsOnly)
         if path:
-            self.src_combo.setFocus()
+            self.dest_combo.setFocus()
     def browse_dest(self):
         FD = QFileDialog