Skip to content

Commit 19ffd7b

Browse files
committed
Update renderinstancewidget.cpp
Flatpak stuff.
1 parent 7924589 commit 19ffd7b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/app/GUI/RenderWidgets/renderinstancewidget.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,17 @@ void RenderInstanceWidget::openOutputDestinationDialog() {
409409
const bool isImgSeq = (format) ? !std::strcmp(format->name, "image2") : false;
410410
if (isImgSeq) {
411411
const QString pixPath = QStandardPaths::writableLocation(QStandardPaths::PicturesLocation);
412+
const QString vidPath = QStandardPaths::writableLocation(QStandardPaths::MoviesLocation);
412413
const QString docPath = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation);
413414
if (!saveAs.startsWith(pixPath) &&
415+
!saveAs.startsWith(vidPath) &&
414416
!saveAs.startsWith(docPath)) {
415417
QMessageBox box(this);
416418
box.setWindowTitle(tr("Permission issue"));
417419
box.setText(tr("Due to limitations in Flatpak "
418-
"you can only save image sequences to %1 or %2.").arg(pixPath,
419-
docPath));
420+
"you can only save image sequences to %1, %2 or %3.").arg(pixPath,
421+
vidPath,
422+
docPath));
420423
box.exec();
421424
return;
422425
}

0 commit comments

Comments
 (0)