Skip to content

Commit

Permalink
Add the same browse type for inkscape field
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanC committed Oct 20, 2018
1 parent 7bd4e3c commit 664178c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/settings/_default.settings
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
{
"value": "inkscape",
"title": "Advanced Title Editor (path)",
"type": "text",
"type": "browse",
"category": "General",
"setting": "title_editor"
},
Expand Down
3 changes: 1 addition & 2 deletions src/windows/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,8 @@ def __init__(self):
tabWidget.layout().addStretch()

def selectExecutable(self, widget, param):
fileName, _ = QFileDialog.getOpenFileName(self,"Select Blender executable", "","All Files (*)")
fileName, _ = QFileDialog.getOpenFileName(self,"Select executable file", "/","All Files (*)")
if fileName:
log.info(fileName)
self.s.set(param["setting"], fileName)
widget.setText(fileName)

Expand Down

0 comments on commit 664178c

Please sign in to comment.