Skip to content

Commit

Permalink
Book information popup: Fix a regression that caused incorrect color …
Browse files Browse the repository at this point in the history
…for titles in dark mode. Fixes #2034999 [Text color of the Book details window is black in 6.26](https://bugs.launchpad.net/calibre/+bug/2034999)
  • Loading branch information
kovidgoyal committed Sep 9, 2023
1 parent 62dd8bd commit 0b83d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/calibre/gui2/dialogs/book_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from calibre import fit_image
from calibre.gui2 import NO_URL_FORMATTING, gprefs
from calibre.gui2.book_details import (
create_open_cover_with_menu, css, details_context_menu_event, render_html, set_html,
create_open_cover_with_menu, resolved_css, details_context_menu_event, render_html, set_html,
)
from calibre.gui2.ui import get_gui
from calibre.gui2.widgets import CoverView
Expand Down Expand Up @@ -123,7 +123,7 @@ def __init__(self, book_info, parent=None, allow_context_menu=True, is_locked=Fa
HTMLDisplay.__init__(self, parent)
self.book_info = book_info
self.edit_metadata = getattr(parent, 'edit_metadata', None)
self.setDefaultStyleSheet(css())
self.setDefaultStyleSheet(resolved_css())
self.allow_context_menu = allow_context_menu
self.is_locked = is_locked

Expand Down

0 comments on commit 0b83d13

Please sign in to comment.