Commit 7f729fa1 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[Pager] Don't show a window list on hover if there is only one window

Summary: If there is only one visible window on the virtual desktop show the title directly instead of "1 Window" + one-entry list.

Test Plan:


Reviewers: hein, broulik, ngraham

Reviewed By: hein, ngraham

Subscribers: mart, plasma-devel

Tags: #plasma

Differential Revision:
parent 1f87cec5
......@@ -337,7 +337,9 @@ MouseArea {
if (visibleWindows.length) {
if (visibleWindows.length === 1) {
text += visibleWindows[0]
} else if (visibleWindows.length > 1) {
text += i18np("%1 Window:", "%1 Windows:", visibleWindows.length)
+ generateWindowList(visibleWindows)
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