Fixed disconnect not working for the menu bar

Signed-off-by: WolverinDEV <git@teaspeak.de>
canary
WolverinDEV 2019-12-21 16:59:15 +01:00
parent 1ad608ff72
commit e4f9451b44
No known key found for this signature in database
GPG Key ID: 77A6C15085150EEB
1 changed files with 1 additions and 1 deletions

View File

@ -319,7 +319,7 @@ namespace top_menu {
handler.handleDisconnect(DisconnectReason.REQUESTED); //TODO message?
server_connections.active_connection_handler().serverConnection.disconnect();
handler.sound.play(Sound.CONNECTION_DISCONNECTED);
this.log.log(log.server.Type.DISCONNECTED, {});
handler.log.log(log.server.Type.DISCONNECTED, {});
}
control_bar.update_connection_state();
update_state();