mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 14:03:26 +02:00
Prompt user before removing server list entry
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user