Skip to content

Commit

Permalink
Restore debug display for library
Browse files Browse the repository at this point in the history
  • Loading branch information
ping committed Aug 1, 2023
1 parent 3031f7f commit 5f2e49f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions calibre-plugin/dialog/cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def __init__(self, card, library, tab, *args, **kwargs):
curr_font.setPointSizeF(curr_font.pointSizeF() * 1.2)
library_lbl.setFont(curr_font)
library_lbl.setStyleSheet("font-weight: bold;")
library_lbl.doubleClicked.connect(
lambda: self.tab.display_debug("Library", self.library)
)
library_lbl.setContextMenuPolicy(Qt.CustomContextMenu)
library_lbl.customContextMenuRequested.connect(
self.library_lbl_context_menu_requested
Expand Down

0 comments on commit 5f2e49f

Please sign in to comment.