sya

split youtube audio tracks, with an optional pyqt gui
git clone git://src.gearsix.net/sya
Log | Files | Refs | Atom | README

commit 7f86edae969410f3f2d2564d6f3761d54a0b5bf3
parent 158501adbe2ff43119e28b9590607e0b8f829c73
Author: gearsix <gearsix@tuta.io>
Date:   Fri,  1 Oct 2021 21:53:21 +0100

bugfix - filepickers DontUseNativeDialog

Diffstat:
Msya-pyqt.py | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sya-pyqt.py b/sya-pyqt.py @@ -164,7 +164,8 @@ class SyaGui(qtwidg.QMainWindow): def _filepicker_tracklist(self, signal): file = qtwidg.QFileDialog.getOpenFileName(self._options, - 'Select a tracklist', os.path.expanduser('~'), "Text file (*.txt)") + 'Select a tracklist', os.path.expanduser('~'), "Text file (*.txt)", + None, qtwidg.QFileDialog.DontUseNativeDialog) if len(file) > 0: self.args.tracklist = file[0] self._edits[self._tracklistLabel].setText(self.args.tracklist) @@ -175,7 +176,8 @@ class SyaGui(qtwidg.QMainWindow): def _filepicker_output(self, signal): file = qtwidg.QFileDialog.getExistingDirectory(self._options, - 'Select directory', os.path.expanduser('~')) + 'Select directory', os.path.expanduser('~'), + qtwidg.QFileDialog.DontUseNativeDialog) if len(file) > 0: self.args.output = file self._edits[self._outputLabel].setText(file)