make closeRequested work

This commit is contained in:
Marco Martin 2020-02-04 21:17:58 +01:00
parent b10d1ef5c6
commit 8848017279

View file

@ -55,6 +55,7 @@ ColumnLayout {
root[model.toggleFunction]();
} else if (model.settingsCommand) {
plasmoid.nativeInterface.executeCommand(model.settingsCommand);
root.closeRequested();
}
}
}