mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +01:00
Don't zoom when loading a file for undo or redo.
This commit is contained in:
parent
58cf189d63
commit
ae0a6109ba
1 changed files with 2 additions and 1 deletions
|
@ -774,7 +774,8 @@ bool Project::FileLoad(lcFile* file, bool bUndo, bool bMerge)
|
|||
view->SetDefaultCamera();
|
||||
}
|
||||
|
||||
ZoomExtents(0, m_ViewList.GetSize());
|
||||
if (!bUndo)
|
||||
ZoomExtents(0, m_ViewList.GetSize());
|
||||
}
|
||||
|
||||
SetAction(action);
|
||||
|
|
Loading…
Add table
Reference in a new issue