Auto save should not change "was modefied" sign (*).
--HG-- branch : feature
This commit is contained in:
parent
f16cccd89f
commit
ee0f8d51be
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user