- Timestamp:
- Sep 24, 2010, 4:01:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/notifications/NotificationManager.cc
r7488 r7489 104 104 // Destroys all NotificationQueues that have been registered with the NotificationManager. 105 105 for(std::map<const std::string, NotificationQueue*>::iterator it = this->queues_.begin(); it != this->queues_.end(); it++) 106 {107 106 it->second->destroy(true); 108 } 107 109 108 this->queues_.clear(); 110 109 } … … 343 342 void NotificationManager::enterEditMode(void) 344 343 { 345 GUIManager::getInstance().hideGUI("NotificationLayer"); 346 GUIManager::getInstance().showGUI("NotificationLayer", false, false); 347 GUIManager::getInstance().getLuaState()->doString("NotificationLayer.enterEditMode()"); 344 if(GameMode::showsGraphics()) 345 { 346 GUIManager::getInstance().hideGUI("NotificationLayer"); 347 GUIManager::getInstance().showGUI("NotificationLayer", false, false); 348 GUIManager::getInstance().getLuaState()->doString("NotificationLayer.enterEditMode()"); 349 } 348 350 } 349 351
Note: See TracChangeset
for help on using the changeset viewer.