Commit 005340e4 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Hide stop activity button if activity isn't stoppable

The only running activity isn't stoppable, so don't show the button then.
parent 5b17c576
...@@ -367,6 +367,7 @@ Item { ...@@ -367,6 +367,7 @@ Item {
PlasmaComponents.Button { PlasmaComponents.Button {
id: stopButton id: stopButton
visible: stoppable
iconSource: "process-stop" iconSource: "process-stop"
tooltip: i18nd("plasma_shell_org.kde.plasma.desktop", "Stop activity") tooltip: i18nd("plasma_shell_org.kde.plasma.desktop", "Stop activity")
......
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