Changeset 5b572e6333db…
Parent 0f1bc8d99e9b…
by
Changes to one file · Browse files at 5b572e6333db Showing diff from parent 0f1bc8d99e9b Diff from another changeset...
@@ -311,18 +311,16 @@ FD = QFileDialog
caption = _("Select source repository")
path = FD.getExistingDirectory(self, caption)
- response = str(path)
- if response:
- self.src_combo.setEditText(response)
+ if path:
+ self.src_combo.setEditText(path)
self.src_combo.setFocus()
def browse_dest(self):
FD = QFileDialog
caption = _("Select destination repository")
path = FD.getExistingDirectory(self, caption)
- response = str(path)
- if response:
- self.dest_combo.setEditText(response)
+ if path:
+ self.dest_combo.setEditText(path)
self.dest_combo.setFocus()
def command_started(self):
|
Loading...