summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"