Prompt user before removing server list entry

This commit is contained in:
BeniS
2013-02-24 01:26:49 +13:00
parent 67ed9e21ad
commit 92228e9553
2 changed files with 24 additions and 6 deletions

View File

@@ -51,10 +51,7 @@ ServerWidget < UIWidget
anchors.right: parent.right
margin-right: 4
margin-top: 1
@onClick: |
local parent = self:getParent()
ServerList.remove(parent:getId())
parent:destroy()
@onClick: ServerList.remove(self:getParent())
MainWindow
id: serverListWindow