mirror of
https://github.com/leozide/leocad
synced 2025-01-29 20:34:50 +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)
|
||||
{
|
||||
LoadCheckPoint(mUndoHistory[0]);
|
||||
if (!mUndoHistory.empty())
|
||||
LoadCheckPoint(mUndoHistory.front());
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue