mirror of
https://github.com/leozide/leocad
synced 2025-02-06 08:46:06 +01:00
Crash fix.
This commit is contained in:
parent
2718a4253c
commit
bcfbaa3080
1 changed files with 2 additions and 1 deletions
|
@ -3910,7 +3910,8 @@ void lcModel::EndMouseTool(lcTool Tool, bool Accept)
|
||||||
{
|
{
|
||||||
if (!Accept && !mIsPreview)
|
if (!Accept && !mIsPreview)
|
||||||
{
|
{
|
||||||
LoadCheckPoint(mUndoHistory[0]);
|
if (!mUndoHistory.empty())
|
||||||
|
LoadCheckPoint(mUndoHistory.front());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue