summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-09-16 09:36:14 -0400
committerLouie S <louie@example.com>2023-09-16 09:36:14 -0400
commitf4695b37ed6280782d4d088fdf7a939dfb199756 (patch)
treeadb36957825e96698685ed713f202ddd28dcb352
parentf52c158655f1c8623b7bd73716606e0ea6a7bfaf (diff)
Fix entry text selection properties
-rw-r--r--.gitignore1
-rw-r--r--entry.py3
-rw-r--r--globals.py2
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"