Tape 'Save As' should save a file without read only state.
--HG-- branch : develop
This commit is contained in:
parent
9b48867ee6
commit
20ffdc607d
|
@ -25,6 +25,7 @@
|
||||||
- [#487] True dart point always goes to origin when the label is moved.
|
- [#487] True dart point always goes to origin when the label is moved.
|
||||||
- [#128] New Tool: Slash and Spread.
|
- [#128] New Tool: Slash and Spread.
|
||||||
- [#409] New feature: Export measurement file to Excel .csv.
|
- [#409] New feature: Export measurement file to Excel .csv.
|
||||||
|
- [#468] Error - Tape 'Save As' should set 'Read Only' to false.
|
||||||
|
|
||||||
# Version 0.4.5
|
# Version 0.4.5
|
||||||
- [#435] Valentina doesn't change the cursor.
|
- [#435] Valentina doesn't change the cursor.
|
||||||
|
|
|
@ -658,6 +658,7 @@ void TMainWindow::FileSaveAs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ReadOnly(false);
|
||||||
QString error;
|
QString error;
|
||||||
bool result = SaveMeasurements(fileName, error);
|
bool result = SaveMeasurements(fileName, error);
|
||||||
if (result == false)
|
if (result == false)
|
||||||
|
@ -673,7 +674,6 @@ void TMainWindow::FileSaveAs()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ReadOnly(false);
|
|
||||||
VlpCreateLock(lock, fileName);
|
VlpCreateLock(lock, fileName);
|
||||||
if (not lock->IsLocked())
|
if (not lock->IsLocked())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user