Skip to content

Commit

Permalink
More changes for 1.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kz26 committed Jul 22, 2017
1 parent 90c3fe7 commit 375734b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ Changelog

1.3.5
-----
* [FIX] Paste from clipboard with quoted paths
* [FIX] Paste from clipboard with quoted paths (https://github.com/kz26/dottorrent-gui/issues/16)
* [FIX] Properly set file/directory radio button state on clipboard paste event
* [CHANGE] Require dottorrent 1.9.2 or higher

1.3.4
Expand Down
2 changes: 2 additions & 0 deletions dottorrentGUI/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,13 @@ def browseInput(self):
def injectInputPath(self, path):
if os.path.exists(path):
if os.path.isfile(path):
self.fileRadioButton.setChecked(True)
self.inputType = 'file'
self.batchModeCheckBox.setCheckState(QtCore.Qt.Unchecked)
self.batchModeCheckBox.setEnabled(False)
self.batchModeCheckBox.hide()
else:
self.directoryRadioButton.setChecked(True)
self.inputType = 'directory'
self.batchModeCheckBox.setEnabled(True)
self.batchModeCheckBox.show()
Expand Down

0 comments on commit 375734b

Please sign in to comment.