mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
Fixed application taskbar not hiding after task completion, implemented basic uninstaller task, server browser is only told to update from updater if server data has actually changed, added Interface.instance method- fixes assuming window.current_state is a Interface instance.
This commit is contained in:
@@ -105,9 +105,8 @@ class W3DHub
|
||||
|
||||
id, data = rpc[:arguments]
|
||||
server = Store.server_list.find { |s| s.id == id }
|
||||
server&.update(data)
|
||||
state = window.current_state
|
||||
state.update_server_browser(server) if state.is_a?(States::Interface) && server
|
||||
server_updated = server&.update(data)
|
||||
States::Interface.instance&.update_server_browser(server) if server_updated
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user