Clear plugins after changing KNS entires
BUG: 382136 FIXED-IN: 5.20
This commit is contained in:
parent
5ba3793cf9
commit
0d3c20d386
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ Module::Module(QWidget *parent, const QVariantList &args) :
|
||||||
ui->ghnsButton->setConfigFile(QStringLiteral("kwinscripts.knsrc"));
|
ui->ghnsButton->setConfigFile(QStringLiteral("kwinscripts.knsrc"));
|
||||||
connect(ui->ghnsButton, &KNS3::Button::dialogFinished, this, [this](const KNS3::Entry::List &changedEntries) {
|
connect(ui->ghnsButton, &KNS3::Button::dialogFinished, this, [this](const KNS3::Entry::List &changedEntries) {
|
||||||
if (!changedEntries.isEmpty()) {
|
if (!changedEntries.isEmpty()) {
|
||||||
|
ui->scriptSelector->clearPlugins();
|
||||||
updateListViewContents();
|
updateListViewContents();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue