diff --git a/libssu/ssu.cpp b/libssu/ssu.cpp index 9a58f43..8cbb16b 100644 --- a/libssu/ssu.cpp +++ b/libssu/ssu.cpp @@ -663,6 +663,8 @@ void Ssu::unregister(){ settings->setValue("privateKey", ""); settings->setValue("certificate", ""); settings->setValue("registered", false); + if (settings->contains("default-sales-domain")) + setDomain(settings->value("default-sales-domain").toString()); settings->sync(); emit registrationStatusChanged(); }