mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 07:20:41 +08:00
revert with comment
This commit is contained in:
parent
c862ecf8e4
commit
034f1ba851
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user