Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--readactivity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/readactivity.py b/readactivity.py
index 8e1ce1c..a2bbe9d 100644
--- a/readactivity.py
+++ b/readactivity.py
@@ -498,7 +498,8 @@ class ReadActivity(activity.Activity):
tuples_list = self._bookmarkmanager.get_highlights(
self._view.get_current_page())
- self._view.show_highlights(tuples_list)
+ if self._view.can_highlight():
+ self._view.show_highlights(tuples_list)
def _update_nav_buttons(self):
current_page = self._view.get_current_page()