From 034f1ba8519fec1c869408ee65ad785e7bf379df Mon Sep 17 00:00:00 2001 From: David Kocik Date: Sun, 12 Jan 2025 20:29:51 +0100 Subject: [PATCH] revert with comment --- src/slic3r/GUI/UserAccountCommunication.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/UserAccountCommunication.cpp b/src/slic3r/GUI/UserAccountCommunication.cpp index ae241b93ba..c7eb09efc0 100644 --- a/src/slic3r/GUI/UserAccountCommunication.cpp +++ b/src/slic3r/GUI/UserAccountCommunication.cpp @@ -305,7 +305,9 @@ std::string UserAccountCommunication::get_shared_session_key() void UserAccountCommunication::set_polling_enabled(bool enabled) { - return m_session->set_polling_action(enabled ? UserAccountActionID::USER_ACCOUNT_ACTION_CONNECT_STATUS : UserAccountActionID::USER_ACCOUNT_ACTION_DUMMY); + // Here enabled sets to USER_ACCOUNT_ACTION_CONNECT_PRINTER_MODELS so it gets full list on first, + // than it should change inside session to USER_ACCOUNT_ACTION_CONNECT_STATUS + return m_session->set_polling_action(enabled ? UserAccountActionID::USER_ACCOUNT_ACTION_CONNECT_PRINTER_MODELS : UserAccountActionID::USER_ACCOUNT_ACTION_DUMMY); } void UserAccountCommunication::on_uuid_map_success()