Fixed issue #703. Valentina warns about format rewriting for unsaved files.
(grafted from c25298f49b2401b67647213dd6543ba880ddf58d) --HG-- branch : develop
This commit is contained in:
parent
4df84fdd94
commit
f12e9ee4ac
|
@ -18,6 +18,7 @@
|
||||||
- [#698] Problem typing in new axis point for new piece.
|
- [#698] Problem typing in new axis point for new piece.
|
||||||
- [#702] Valentina produces broken shortcut (.lnk) files on Windows.
|
- [#702] Valentina produces broken shortcut (.lnk) files on Windows.
|
||||||
- Changed default behaviour if path to multisize measurements or templates doesn't exist.
|
- Changed default behaviour if path to multisize measurements or templates doesn't exist.
|
||||||
|
- [#703] Valentina warns about format rewriting for unsaved files.
|
||||||
|
|
||||||
# Version 0.5.0 May 9, 2017
|
# Version 0.5.0 May 9, 2017
|
||||||
- [#581] User can now filter input lists by keyword in function wizard.
|
- [#581] User can now filter input lists by keyword in function wizard.
|
||||||
|
|
|
@ -364,10 +364,14 @@ void TMainWindow::FileNew()
|
||||||
if (mType == MeasurementsType::Standard)
|
if (mType == MeasurementsType::Standard)
|
||||||
{
|
{
|
||||||
m = new VMeasurements(mUnit, measurements.BaseSize(), measurements.BaseHeight(), data);
|
m = new VMeasurements(mUnit, measurements.BaseSize(), measurements.BaseHeight(), data);
|
||||||
|
m_curFileFormatVersion = VVSTConverter::MeasurementMaxVer;
|
||||||
|
m_curFileFormatVersionStr = VVSTConverter::MeasurementMaxVerStr;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m = new VMeasurements(mUnit, data);
|
m = new VMeasurements(mUnit, data);
|
||||||
|
m_curFileFormatVersion = VVITConverter::MeasurementMaxVer;
|
||||||
|
m_curFileFormatVersionStr = VVITConverter::MeasurementMaxVerStr;
|
||||||
}
|
}
|
||||||
|
|
||||||
mIsReadOnly = m->IsReadOnly();
|
mIsReadOnly = m->IsReadOnly();
|
||||||
|
|
|
@ -3094,6 +3094,9 @@ void MainWindow::New()
|
||||||
|
|
||||||
mouseCoordinate = new QLabel(QString("0, 0 (%1)").arg(VDomDocument::UnitsToStr(qApp->patternUnit(), true)));
|
mouseCoordinate = new QLabel(QString("0, 0 (%1)").arg(VDomDocument::UnitsToStr(qApp->patternUnit(), true)));
|
||||||
ui->toolBarOption->addWidget(mouseCoordinate);
|
ui->toolBarOption->addWidget(mouseCoordinate);
|
||||||
|
|
||||||
|
m_curFileFormatVersion = VPatternConverter::PatternMaxVer;
|
||||||
|
m_curFileFormatVersionStr = VPatternConverter::PatternMaxVerStr;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user