Commit 4731941c authored by Dan Pascu's avatar Dan Pascu

Fixed menu action to open containing folder

parent 8802cece
......@@ -105,7 +105,7 @@ class FileTransferWindow(base_class, ui_class):
def _AH_OpenContainingFolder(self):
item = self.listview.selectedIndexes()[0].data(Qt.UserRole)
QDesktopServices.openUrl(QUrl.fromLocalFile(os.path.basename(item.filename)))
QDesktopServices.openUrl(QUrl.fromLocalFile(os.path.dirname(item.filename)))
def _AH_CancelTransfer(self):
item = self.listview.selectedIndexes()[0].data(Qt.UserRole)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment