Commit 6ea53148 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[applets/comic] Fix configurationRequired and busy state when deactivating the last provider

Currently when removing the last provider we briefly show a busy indicator and configure button and then remove both

Now only the configure button is shown, permanently

(cherry picked from commit 3c60256f)
parent 3ba869c3
Pipeline #207395 passed with stage
in 2 minutes and 39 seconds
......@@ -173,7 +173,7 @@ void ComicApplet::dataUpdated(const ComicMetaData &data)
return;
}
setConfigurationRequired(false);
setConfigurationRequired(mCurrent.id().isEmpty());
// there was an error, display information as image
if (data.error) {
......@@ -485,9 +485,9 @@ void ComicApplet::updateComic(const QString &identifierSuffix)
mEngine->requestSource(identifier);
slotScaleToContent();
} else {
setBusy(false);
qWarning() << "Either no identifier was specified or the engine could not be created:"
<< "id" << id;
setConfigurationRequired(true);
}
updateContextMenu();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment