diff options
| author | tassaron | 2017-06-15 22:15:03 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-15 22:15:03 -0400 |
| commit | c05efc73ee069fe2eb8776a27b503ada2adb4af6 (patch) | |
| tree | 33bb0fc36a3e6a730e51d52075d02814faebe40b /mainwindow.py | |
| parent | 8603fa12e3d63705e3cbc202bd0635e5ac977225 (diff) | |
various bugfixes, blankFrame method for components
don't crash from broken project files or nonexistent videopaths, and shareable common paths in core.py
Diffstat (limited to 'mainwindow.py')
| -rw-r--r-- | mainwindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mainwindow.py b/mainwindow.py index ad1df10..f1959cb 100644 --- a/mainwindow.py +++ b/mainwindow.py @@ -310,7 +310,7 @@ class MainWindow(QtCore.QObject): fileName = QtGui.QFileDialog.getOpenFileName( self.window, "Open Music File", - inputDir, "Music Files (*.mp3 *.wav *.ogg *.fla *.aac)") + inputDir, "Music Files (%s)" % " ".join(self.core.audioFormats)) if not fileName == "": self.settings.setValue("inputDir", os.path.dirname(fileName)) @@ -322,7 +322,7 @@ class MainWindow(QtCore.QObject): fileName = QtGui.QFileDialog.getSaveFileName( self.window, "Set Output Video File", outputDir, - "Video Files (*.mp4 *.mov *.mkv *.avi *.webm *.flv);; All Files (*)") + "Video Files (%s);; All Files (*)" % " ".join(self.core.videoFormats)) if not fileName == "": self.settings.setValue("outputDir", os.path.dirname(fileName)) |
