[applets/clipboard] Refine placeholder message when searching

Now it will say "No matches" when there are no search results, and
"Clipboard is empty" when the clipboard actually is empty.

BUG: 437386
FIXED-IN: 5.23
wilder-5.24
Nate Graham 5 years ago
parent e1980bc024
commit 0011776ff0
  1. 2
      applets/clipboard/contents/ui/Menu.qml

@ -63,7 +63,7 @@ PlasmaExtras.ScrollArea {
width: parent.width - (PlasmaCore.Units.largeSpacing * 4)
visible: menuListView.count === 0
text: i18n("Clipboard is empty")
text: model.filterRegExp.length > 0 ? i18n("No matches") : i18n("Clipboard is empty")
}
}
}

Loading…
Cancel
Save