Changeset 7413 for code/trunk/data
- Timestamp:
- Sep 11, 2010, 5:05:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/NotificationLayer.lua
r7403 r7413 426 426 local window = winMgr:getWindow("orxonox/NotificationLayer/Root/EditMode/ControlWindow/NewQueueName") 427 427 local name = window:getText() 428 429 local queue = P.queueList[name] 430 -- Test if a queue with that name already exists. 431 if queue ~= nil then 432 window:setText("Queue with that name already exists.") 433 return 434 end 435 428 436 -- Creates the new queue. 429 437 orxonox.NotificationManager:getInstance():createQueue(name) 430 438 431 localqueue = P.queueList[name]439 queue = P.queueList[name] 432 440 if queue == nil then 433 441 return
Note: See TracChangeset
for help on using the changeset viewer.