diff --git a/kvui.py b/kvui.py index 500203a8818f..6914a67ba5bf 100644 --- a/kvui.py +++ b/kvui.py @@ -599,6 +599,7 @@ def connect_button_action(self, button): self.ctx.username = None async_start(self.ctx.disconnect()) else: + self.ctx.username = None async_start(self.ctx.connect(self.server_connect_bar.text.replace("/connect ", ""))) def on_stop(self):