summaryrefslogtreecommitdiff
path: root/src/gui/game/GameView.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-21 02:23:08 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-21 02:23:08 (GMT)
commit18e2008b01e403dbd0003ca3bb2fd3b6e72362a6 (patch)
treeb2586d2efe876aed7c58e87e6f1d66b1a5b83b19 /src/gui/game/GameView.cpp
parent7a2114bc653cb450e58e59af9b8a5469d45ec140 (diff)
downloadpowder-18e2008b01e403dbd0003ca3bb2fd3b6e72362a6.zip
powder-18e2008b01e403dbd0003ca3bb2fd3b6e72362a6.tar.gz
do ctrl+z snapshots when loading saves / stamps, makes it more predictable to fix problems in issue #110
Diffstat (limited to 'src/gui/game/GameView.cpp')
-rw-r--r--src/gui/game/GameView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/game/GameView.cpp b/src/gui/game/GameView.cpp
index 6746de6..f58039e 100644
--- a/src/gui/game/GameView.cpp
+++ b/src/gui/game/GameView.cpp
@@ -953,6 +953,7 @@ void GameView::NotifySaveChanged(GameModel * sender)
tagSimulationButton->SetText("[no tags set]");
currentSaveType = 0;
}
+ c->HistorySnapshot();
}
void GameView::NotifyBrushChanged(GameModel * sender)