Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d6751450 authored by Marco Martin's avatar Marco Martin

hide window if a vlacklisted skill is activated

parent 03409a6e
......@@ -103,6 +103,11 @@ Window {
plasmoid.nativeInterface.executeCommand("mycroft-gui-app --hideTextInput --skill=" + skillId);
}
// activeSkills.onSkillActivated: window.showMaximized();
activeSkills.onActiveIndexChanged: {
if (activeSkills.activeIndex > 0) {
window.visible = false;
}
}
onOpenChanged: {
if (open) {
......
Markdown is supported
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