From f4695b37ed6280782d4d088fdf7a939dfb199756 Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 16 Sep 2023 09:36:14 -0400 Subject: Fix entry text selection properties --- .gitignore | 1 + entry.py | 3 +-- globals.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bee8a64..597be97 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ __pycache__ +test.db diff --git a/entry.py b/entry.py index ba393b7..b51f38d 100644 --- a/entry.py +++ b/entry.py @@ -20,8 +20,7 @@ class Entry: bullet.setFont(QFont("Arial", 11)) - body.setTextInteractionFlags(Qt.TextSelectableByMouse) - body.setTextInteractionFlags(Qt.LinksAccessibleByMouse) + body.setTextInteractionFlags(Qt.TextSelectableByMouse | Qt.LinksAccessibleByMouse) body.setFont(QFont("Arial", 11)) body.setWordWrap(True) diff --git a/globals.py b/globals.py index 72b0e74..61c6156 100644 --- a/globals.py +++ b/globals.py @@ -1,3 +1,3 @@ groups = [] entries = [] -db_path = "/tmp/test.db" +db_path = "./test.db" -- cgit