diff options
| author | tassaron | 2022-04-29 00:22:26 -0400 |
|---|---|---|
| committer | tassaron | 2022-04-29 00:22:26 -0400 |
| commit | b4fc89cfbeacb9dc99eba01b0dbfb0023709fe40 (patch) | |
| tree | a88071e8f3690d2d3e38b6ea0951bc51bf543630 /src/gui/mainwindow.py | |
| parent | a4dff0b3e0aa817822c1a490a423192a8cbf97eb (diff) | |
document keyboard shortcuts. fix "show ffmpeg command"
Diffstat (limited to 'src/gui/mainwindow.py')
| -rw-r--r-- | src/gui/mainwindow.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/mainwindow.py b/src/gui/mainwindow.py index da8370d..f60befd 100644 --- a/src/gui/mainwindow.py +++ b/src/gui/mainwindow.py @@ -758,15 +758,17 @@ class MainWindow(QtWidgets.QMainWindow): def showFfmpegCommand(self): from textwrap import wrap - from toolkit.ffmpeg import createFfmpegCommand + from ..toolkit.ffmpeg import createFfmpegCommand command = createFfmpegCommand( self.window.lineEdit_audioFile.text(), self.window.lineEdit_outputFile.text(), self.core.selectedComponents ) - lines = wrap(" ".join(command), 49) + command = " ".join(command) + log.info(f"FFmpeg command: {command}") + lines = wrap(command, 49) self.showMessage( - msg="Current FFmpeg command:\n\n %s" % " ".join(lines) + msg=f"Current FFmpeg command:\n\n{' '.join(lines)}" ) def addComponent(self, compPos, moduleIndex): |
