Skip to content

Commit a91fea0

Browse files
authored
Fix double speaking "disconnected" when leader #18710
Closes #18692 Summary of the issue: When connected as the controlling computer, disconnecting causes NVDA to speak "Disconnected" twice. Description of user facing changes: NVDA speaks "Disconnected" once. Description of developer facing changes: None Description of development approach: Removed superfluous ui.message from _remoteClient.client.RemoteClient.onDisconnectedAsLeader.
1 parent 46d86ed commit a91fea0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/_remoteClient/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,6 @@ def onDisconnectingAsLeader(self):
392392
@alwaysCallAfter
393393
def onDisconnectedAsLeader(self):
394394
log.info("Leader session disconnected")
395-
# Translators: Presented when connection to a remote computer was interupted.
396-
ui.message(_("Disconnected"))
397395

398396
def connectAsFollower(self, connectionInfo: ConnectionInfo):
399397
transport = RelayTransport.create(

0 commit comments

Comments
 (0)