Skip to content

Commit

Permalink
MyFrameMain: remove busy cursor on connection setup
Browse files Browse the repository at this point in the history
This is at best irritating, we have the open tab with a descriptive
label now anyway.
  • Loading branch information
bk138 committed Jan 20, 2025
1 parent e5cd80d commit 32c5644
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/gui/MyFrameMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,6 @@ void MyFrameMain::onVNCConnListenNotify(wxCommandEvent& event)

void MyFrameMain::onVNCConnInitNotify(wxCommandEvent& event)
{
wxEndBusyCursor();

VNCConn* c = static_cast<VNCConn*>(event.GetEventObject());

if (event.GetInt() == 0) {
Expand Down Expand Up @@ -758,9 +756,6 @@ void MyFrameMain::onVNCConnGetCredentialsNotify(wxCommandEvent &event)
// get sender
VNCConn *conn = static_cast<VNCConn*>(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()),
Expand Down Expand Up @@ -938,7 +933,6 @@ void MyFrameMain::conn_spawn(wxString service, int listenPort)
}
else // normal init without previous listen
{
wxBeginBusyCursor();
wxLogStatus(_("Connecting to %s..."), service);

wxString user = service.Contains("@") ? service.BeforeFirst('@') : "";
Expand Down

0 comments on commit 32c5644

Please sign in to comment.