diff --git a/deploy/flatpak/io.github.qcanvas.QCanvasApp.metainfo.xml b/deploy/flatpak/io.github.qcanvas.QCanvasApp.metainfo.xml index 71752ad..2d29a3a 100644 --- a/deploy/flatpak/io.github.qcanvas.QCanvasApp.metainfo.xml +++ b/deploy/flatpak/io.github.qcanvas.QCanvasApp.metainfo.xml @@ -31,6 +31,11 @@ + + + diff --git a/pyproject.toml b/pyproject.toml index 0ab9f21..d2a951a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "qcanvas" -version = "1.0.10.post2" +version = "1.0.11" description = "QCanvas is a desktop client for Canvas LMS." authors = ["QCanvas "] readme = "README.md" diff --git a/qcanvas/ui/course_viewer/course_viewer.py b/qcanvas/ui/course_viewer/course_viewer.py index 3780204..82e287b 100644 --- a/qcanvas/ui/course_viewer/course_viewer.py +++ b/qcanvas/ui/course_viewer/course_viewer.py @@ -84,17 +84,18 @@ def _highlight_tabs(self, sync_receipt: SyncReceipt) -> None: updates = sync_receipt.updates_by_course.get(self._course_id, None) if updates is not None: - if len(updates.updated_resources) > 0: - self._highlight_tab(0) + # if len(updates.updated_resources) > 0: + # raise Exception("Looks like you forgot to update the other numbers??????"") + # self._highlight_tab(0) if len(updates.updated_pages) > 0: - self._highlight_tab(1) + self._highlight_tab(0) if len(updates.updated_assignments) > 0: - self._highlight_tab(2) + self._highlight_tab(1) if len(updates.updated_messages) > 0: - self._highlight_tab(3) + self._highlight_tab(2) else: for index in range(0, 4): self._unhighlight_tab(index)