Verified Commit 07a0c2a2 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applets/taskmanager: move `IsLauncher` condition in front of `IsGroupParent`

parent fd190101
Pipeline #204984 passed with stage
in 5 minutes and 4 seconds
......@@ -71,6 +71,10 @@ MouseArea {
return "";
}
if (model.IsLauncher) {
return i18nc("@info:usagetip %1 application name", "Launch %1", model.display)
}
if (model.IsGroupParent) {
switch (plasmoid.configuration.groupedTaskVisualization) {
case 0:
......@@ -92,10 +96,6 @@ MouseArea {
}
}
if (model.IsLauncher) {
return i18nc("@info:usagetip %1 application name", "Launch %1", model.display)
}
return i18n("Activate %1", model.display)
}
Accessible.role: Accessible.Button
......
Supports Markdown
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