Topmenu fix

* Will no longer duplicate topmenu buttons (no need to destroy in the module now)
* Menu items will no longer change position when reloaded.
This commit is contained in:
BeniS
2013-02-01 14:47:15 +13:00
parent b34cc18f98
commit 35e5dd8af8
15 changed files with 8 additions and 32 deletions

View File

@@ -119,15 +119,11 @@ function terminate()
g_keyboard.unbindKeyDown('Ctrl+Shift+F')
optionsWindow:destroy()
optionsWindow = nil
optionsButton:destroy()
optionsButton = nil
optionsTabBar = nil
generalPanel = nil
consolePanel = nil
graphicsPanel = nil
audioPanel = nil
audioButton:destroy()
audioButton = nil
end
function toggle()