Skip to content

Commit

Permalink
Merge pull request OpenShot#2309 from DylanC/blender_locate
Browse files Browse the repository at this point in the history
Blender locate fixes
  • Loading branch information
DylanC authored Nov 1, 2018
2 parents 389eb18 + e2e8d30 commit c9f49f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/windows/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ def __init__(self):
tabWidget.layout().addStretch()

def selectExecutable(self, widget, param):
fileName = QFileDialog.getOpenFileName(self,"Select executable file", QDir.rootPath(),"All Files (*)")
_ = get_app()._tr

fileName, fileType = QFileDialog.getOpenFileName(self, _("Select executable file"), QDir.rootPath(), _("All Files (*)"))
if fileName:
self.s.set(param["setting"], fileName)
widget.setText(fileName)
Expand Down

0 comments on commit c9f49f2

Please sign in to comment.