From 2fcb5b2c2c95c21e919f7343ff02d32f4d15f5c6 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Wed, 24 Apr 2024 16:17:09 +0200 Subject: [PATCH] Perform refresh when test connection fails. --- src/slic3r/GUI/UserAccountCommunication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/UserAccountCommunication.cpp b/src/slic3r/GUI/UserAccountCommunication.cpp index 6c7834d8e6..6d8045d2b7 100644 --- a/src/slic3r/GUI/UserAccountCommunication.cpp +++ b/src/slic3r/GUI/UserAccountCommunication.cpp @@ -316,7 +316,7 @@ void UserAccountCommunication::enqueue_test_connection() BOOST_LOG_TRIVIAL(error) << "Connect Printers endpoint connection failed - Not Logged in."; return; } - m_session->enqueue_action(UserAccountActionID::USER_ACCOUNT_ACTION_TEST_CONNECTION, nullptr, nullptr, {}); + m_session->enqueue_test_with_refresh(); } wakeup_session_thread(); }