diff --git a/anime_backlog.db-shm b/anime_backlog.db-shm index 9d1943d..9baaea9 100644 Binary files a/anime_backlog.db-shm and b/anime_backlog.db-shm differ diff --git a/anime_backlog.db-wal b/anime_backlog.db-wal index 0c26e85..35a541f 100644 Binary files a/anime_backlog.db-wal and b/anime_backlog.db-wal differ diff --git a/frontend.py b/frontend.py index c6cefa4..8f2416d 100644 --- a/frontend.py +++ b/frontend.py @@ -97,7 +97,7 @@ Global Shortcuts: - A: Add an anime - Page Down: Next tab - Page Up: Previous tab -- Q: Quit the program +- Ctrl + Q: Quit the program - R: Pick random anime - Ctrl + + : Increase table scale - Ctrl + - : Decrease table scale @@ -688,8 +688,6 @@ class AnimeTracker(QMainWindow): current = self.tab_widget.currentIndex() if current > 0: self.tab_widget.setCurrentIndex(current - 1) - elif key == Qt.Key_Q: - self.close() elif key == Qt.Key_R: self.random_pick() elif modifiers == Qt.ControlModifier: @@ -703,6 +701,9 @@ class AnimeTracker(QMainWindow): self.table_scale = max(self.table_scale - 0.1, 0.5) self.load_tabs() self.set_current_tab_by_identifier(current_id) + elif key == Qt.Key_Q: + self.close() + super().keyPressEvent(event) if __name__ == '__main__':