mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Show min/max buttons on FTS popup window
This commit is contained in:
parent
63563fe0c3
commit
a301e71328
@ -5,7 +5,7 @@
|
||||
|
||||
import os
|
||||
from qt.core import (
|
||||
QDialogButtonBox, QHBoxLayout, QIcon, QLabel, QSize, QStackedWidget, QVBoxLayout
|
||||
QDialogButtonBox, QHBoxLayout, QIcon, QLabel, QSize, QStackedWidget, QVBoxLayout, Qt
|
||||
)
|
||||
|
||||
from calibre.gui2.fts.scan import ScanStatus
|
||||
@ -20,6 +20,7 @@ class FTSDialog(Dialog):
|
||||
super().__init__(_('Search the text of all books in the library'), 'library-fts-dialog',
|
||||
default_buttons=QDialogButtonBox.StandardButton.Close)
|
||||
self.setWindowIcon(QIcon.ic('fts.png'))
|
||||
self.setWindowFlags(self.windowFlags() | Qt.WindowType.WindowMinMaxButtonsHint)
|
||||
|
||||
def setup_ui(self):
|
||||
l = QVBoxLayout(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user