Don't warn about a file format update after Save as.
This commit is contained in:
parent
9031b44b7b
commit
afd2dd8b15
|
@ -4,6 +4,7 @@
|
|||
- Fix regression. Export to tiled PDF has no suffix.
|
||||
- Fix warning about missing EUDC font om Wondows.
|
||||
- Fix regression in Pattern properties dialog. Tab Security is disabled for pattern with individual measurements.
|
||||
- Don't warn about a file format update after Save as.
|
||||
|
||||
# Version 0.7.42 Jan 26, 2021
|
||||
- Fix export of pattern recipe.
|
||||
|
|
|
@ -954,6 +954,17 @@ bool TMainWindow::FileSaveAs()
|
|||
return false;
|
||||
}
|
||||
|
||||
if (mType == MeasurementsType::Multisize)
|
||||
{
|
||||
m_curFileFormatVersion = VVSTConverter::MeasurementMaxVer;
|
||||
m_curFileFormatVersionStr = VVSTConverter::MeasurementMaxVerStr;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_curFileFormatVersion = VVITConverter::MeasurementMaxVer;
|
||||
m_curFileFormatVersionStr = VVITConverter::MeasurementMaxVerStr;
|
||||
}
|
||||
|
||||
UpdatePadlock(false);
|
||||
UpdateWindowTitle();
|
||||
|
||||
|
|
|
@ -3177,6 +3177,8 @@ bool MainWindow::on_actionSaveAs_triggered()
|
|||
QFile::remove(oldFilePath + *autosavePrefix);
|
||||
}
|
||||
|
||||
m_curFileFormatVersion = VPatternConverter::PatternMaxVer;
|
||||
m_curFileFormatVersionStr = VPatternConverter::PatternMaxVerStr;
|
||||
patternReadOnly = false;
|
||||
|
||||
qCDebug(vMainWindow, "Locking file");
|
||||
|
|
Loading…
Reference in New Issue
Block a user