Commit 3c60256f 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
parent f7ca239a
Pipeline #207394 passed with stage
in 1 minute and 26 seconds
......@@ -187,7 +187,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) {
......@@ -503,9 +503,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