Add a new completion API for experimental plugins feature. (#5000)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -108,6 +108,16 @@ void PluginsPage::rebuildContent()
|
||||
warningLabel->setStyleSheet("color: #f00");
|
||||
pluginEntry->addRow(warningLabel);
|
||||
}
|
||||
if (!plugin->error().isNull())
|
||||
{
|
||||
auto *errorLabel =
|
||||
new QLabel("There was an error while loading this plugin: " +
|
||||
plugin->error(),
|
||||
this->dataFrame_);
|
||||
errorLabel->setStyleSheet("color: #f00");
|
||||
errorLabel->setWordWrap(true);
|
||||
pluginEntry->addRow(errorLabel);
|
||||
}
|
||||
|
||||
auto *description =
|
||||
new QLabel(plugin->meta.description, this->dataFrame_);
|
||||
|
||||
Reference in New Issue
Block a user