mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 15:05:05 +01:00
Fix for bug #1253922 -- Quickview window is not staying on top of its parent in some *nix systems.
This commit is contained in:
parent
b8bb775a1b
commit
d9dd5fbe59
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ def __init__(self, gui, view, row):
|
|||
# Remove the help button from the window title bar
|
||||
icon = self.windowIcon()
|
||||
self.setWindowFlags(self.windowFlags()&(~Qt.WindowContextHelpButtonHint))
|
||||
self.setWindowFlags(self.windowFlags()|Qt.WindowStaysOnTopHint)
|
||||
self.setWindowIcon(icon)
|
||||
|
||||
self.db = view.model().db
|
||||
|
|
|
|||
Loading…
Reference in a new issue