The source project of this merge request has been removed.
Automatically close Clipboard applet after clearing history or deleting the last element
It would be correct to close the Clipboard applet after clearing the history or deleting the last element, since there is nothing more to do with the empty Clipboard applet (similar to how the Notification applet closes after the last notification is removed). This patch is the same as the one that fixes BUG 421345, but only for Plasma/5.18 branch.