Commit d6751450 authored by Marco Martin's avatar Marco Martin
Browse files

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