Clear plugins after changing KNS entires

BUG: 382136
FIXED-IN: 5.20
master
Alexander Lohnau 2020-08-08 17:23:12 +02:00
parent 5ba3793cf9
commit 0d3c20d386
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ Module::Module(QWidget *parent, const QVariantList &args) :
ui->ghnsButton->setConfigFile(QStringLiteral("kwinscripts.knsrc"));
connect(ui->ghnsButton, &KNS3::Button::dialogFinished, this, [this](const KNS3::Entry::List &changedEntries) {
if (!changedEntries.isEmpty()) {
ui->scriptSelector->clearPlugins();
updateListViewContents();
}
});