Changeset f3ac237 in OpenModelica
- Timestamp:
- 2021-04-07T11:53:10+02:00 (3 years ago)
- Children:
- cb670ccb
- Parents:
- d3536cf8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMEdit/OMEditLIB/Modeling/Commands.cpp
rbcd47c5a rf3ac237 1627 1627 // load the new snapshot 1628 1628 if (mDoSnapShot) { 1629 QString newCref; 1630 OMSProxy::instance()->importSnapshot(mModelName, mNewSnapshot, &newCref); 1629 OMSProxy::instance()->importSnapshot(mModelName, mNewSnapshot, &mModelName); 1631 1630 } 1632 1631 // reload/redraw the OMSimulator model … … 1654 1653 // load the old snapshot 1655 1654 if (mDoSnapShot) { 1656 QString newCref; 1657 OMSProxy::instance()->importSnapshot(mModelName, mOldSnapshot, &newCref); 1655 OMSProxy::instance()->importSnapshot(mModelName, mOldSnapshot, &mModelName); 1658 1656 } 1659 1657 MainWindow::instance()->getLibraryWidget()->getLibraryTreeModel()->reLoadOMSimulatorModel(mModelName, mEditedCref, mOldSnapshot, mNewEditedCref, mOldEditedCref);
Note: See TracChangeset
for help on using the changeset viewer.