summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-05 18:47:03 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-05 18:47:03 (GMT)
commit5da70ef8a633328d7441fd08c7e8592247f52f7b (patch)
treecc1f677e03cca255d461885bfd20fbbcaa47e159 /src/game/GameController.cpp
parent09c266f25256d25103781e74038fc5265b957459 (diff)
downloadpowder-5da70ef8a633328d7441fd08c7e8592247f52f7b.zip
powder-5da70ef8a633328d7441fd08c7e8592247f52f7b.tar.gz
Ensure errors are caught and displayed during tag operations. Fix some issues with the Tag ui. Fixes #157
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index fd64654..e34fa5b 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -113,7 +113,7 @@ public:
TagsCallback(GameController * cc_) { cc = cc_; }
virtual void ControllerExit()
{
- cc->gameModel->SetSave(new SaveInfo(*(cc->tagsWindow->GetSave())));
+ cc->gameView->NotifySaveChanged(cc->gameModel);
}
};