Skip to content

Commit

Permalink
Merge pull request #29 from aardschok/0016
Browse files Browse the repository at this point in the history
Fixed #15
  • Loading branch information
BigRoy committed May 4, 2017
2 parents e7fb6e8 + 8b3de81 commit 78ef746
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions capture_gui/plugins/ioplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def __init__(self, parent=None):
filename_hlayout.addWidget(filename_label)
filename_hlayout.addWidget(self.filename)
self.filename_widget.setLayout(filename_hlayout)
self.filename.setPlaceholderText("playblast")
# endregion Filename

# region Recent Playblast
Expand Down Expand Up @@ -203,11 +204,8 @@ def get_outputs(self):
# get directory from inputs
if not use_default:
directory = self.directory_path.text()
filename = self.filename.text()
if filename:
path = os.path.join(directory, filename)
else:
path = directory
filename = self.filename.text() or "playblast"
path = os.path.join(directory, filename)
else:
# get directory from selected folder and given name
path = lib.default_output()
Expand Down

0 comments on commit 78ef746

Please sign in to comment.