summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index dfd4b40..a1bbc9e 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -1591,6 +1591,10 @@ void GameView::NotifyNotificationsChanged(GameModel * sender)
{
v->c->RemoveNotification(notification);
}
+ void AltActionCallback(ui::Button * sender)
+ {
+ v->c->RemoveNotification(notification);
+ }
};
for(std::vector<ui::Component*>::const_iterator iter = notificationComponents.begin(), end = notificationComponents.end(); iter != end; ++iter) {