Skip to content

Commit

Permalink
Add separators when *not* using old Klipper behaviour
Browse files Browse the repository at this point in the history
New lines can quickly became confusing, which is something I didn't like
about the Klipper widget, but it is visually easier to 'separate' them.
  • Loading branch information
lah7 committed Nov 3, 2024
1 parent 63aad05 commit 77adceb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clipqture.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,9 @@ def show_context_menu(self):

menu.addAction(action)

if not self.old_klipper_behaviour:
menu.addSeparator()

menu.addSeparator()
clear = QAction("Clear History", self)
clear.setIcon(QIcon.fromTheme("edit-clear-history"))
Expand Down

0 comments on commit 77adceb

Please sign in to comment.