Skip to content

Commit

Permalink
Invert instantSave and SaveWithDialog logic #219
Browse files Browse the repository at this point in the history
  • Loading branch information
DamirPorobic committed Sep 17, 2019
1 parent db7e7d4 commit 2ce2faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/operations/SaveOperation.cpp
Expand Up @@ -32,7 +32,7 @@ bool SaveOperation::execute()
{
auto path = mSavePathProvider.savePath();

if(mIsInstantSave){
if(!mIsInstantSave){
auto title = QCoreApplication::translate("SaveOperation", "Save As");
auto filter = QCoreApplication::translate("SaveOperation", "Images") + QStringLiteral(" (*.png *.gif *.jpg);;") + QCoreApplication::translate("SaveOperation", "All Files") + QStringLiteral("(*)");
QFileDialog saveDialog(mParent, title, path, filter);
Expand Down

0 comments on commit 2ce2faf

Please sign in to comment.