Auto save should not change "was modefied" sign (*).

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-02-12 17:47:53 +02:00
parent f16cccd89f
commit ee0f8d51be

View File

@ -1998,13 +1998,13 @@ bool MainWindow::SavePattern(const QString &fileName, QString &error)
setCurrentFile(fileName); setCurrentFile(fileName);
helpLabel->setText(tr("File saved")); helpLabel->setText(tr("File saved"));
qCDebug(vMainWindow)<<"File"<<fileName<<"saved."; qCDebug(vMainWindow)<<"File"<<fileName<<"saved.";
PatternWasModified(result);
} }
} }
else else
{ {
qCDebug(vMainWindow)<<"Could not save file"<<fileName<<"."<<error<<"."; qCDebug(vMainWindow)<<"Could not save file"<<fileName<<"."<<error<<".";
} }
PatternWasModified(result);
return result; return result;
} }