[client, gui] fix exit nodes menu on reconnect, remove tooltips (#5167)

* [client, gui] fix exit nodes menu on reconnect

clean s.exitNodeStates when disconnecting

* disable tooltip for exit nodes and settings
This commit is contained in:
Maycon Santos
2026-01-23 18:39:45 +01:00
committed by GitHub
parent c61568ceb4
commit 67211010f7
4 changed files with 6 additions and 7 deletions
+2
View File
@@ -99,6 +99,8 @@ func (h *eventHandler) handleConnectClick() {
func (h *eventHandler) handleDisconnectClick() {
h.client.mDown.Disable()
h.client.exitNodeStates = []exitNodeState{}
if h.client.connectCancel != nil {
log.Debugf("cancelling ongoing connect operation")
h.client.connectCancel()