From 7d3dbbd626615fc30c9293c0376dc765bd459d5f Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Tue, 27 Feb 2024 21:59:25 +0100 Subject: [PATCH] MyFrameMain: stop showing busy cursor on entering credentials re #222 --- src/gui/MyFrameMain.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/MyFrameMain.cpp b/src/gui/MyFrameMain.cpp index 7bdfb438..4f1ab045 100644 --- a/src/gui/MyFrameMain.cpp +++ b/src/gui/MyFrameMain.cpp @@ -695,6 +695,9 @@ void MyFrameMain::onVNCConnGetCredentialsNotify(wxCommandEvent &event) // get sender VNCConn *conn = static_cast(event.GetEventObject()); + // stop showing connection setup busy cursor when entering creds + wxEndBusyCursor(); + if(!event.GetInt()) { // without user prompt, get only password wxString pass = wxGetPasswordFromUser(wxString::Format(_("Please enter password for user '%s'"), conn->getUserName()),