mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1921645 [Add scrollbar to Merge books window](https://bugs.launchpad.net/calibre/+bug/1921645)
This commit is contained in:
parent
157a26a270
commit
26431a36ea
@ -51,6 +51,9 @@ class ConfirmMerge(Dialog):
|
||||
def __init__(self, msg, name, parent, mi):
|
||||
self.msg, self.mi, self.conf_name = msg, mi, name
|
||||
Dialog.__init__(self, _('Are you sure?'), 'confirm-merge-dialog', parent)
|
||||
needed, sz = self.sizeHint(), self.size()
|
||||
if needed.width() > sz.width() or needed.height() > sz.height():
|
||||
self.resize(needed)
|
||||
|
||||
def setup_ui(self):
|
||||
self.l = l = QVBoxLayout(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user