This commit is contained in:
Kovid Goyal 2019-11-30 13:25:05 +05:30
parent 9bd07a9b8f
commit 41791d1e4d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -76,7 +76,7 @@ class ImageView(QDialog):
h.setContentsMargins(0, 0, 0, 0) h.setContentsMargins(0, 0, 0, 0)
l.addLayout(h) l.addLayout(h)
self.fit_image = i = QCheckBox(_('&Fit image')) self.fit_image = i = QCheckBox(_('&Fit image'))
i.setToolTip(_('Fit the image to the available space')) i.setToolTip(_('Fit image inside the available space'))
i.setChecked(bool(gprefs.get('image_popup_fit_image'))) i.setChecked(bool(gprefs.get('image_popup_fit_image')))
i.stateChanged.connect(self.fit_changed) i.stateChanged.connect(self.fit_changed)
h.addWidget(i), h.addStretch(), h.addWidget(bb) h.addWidget(i), h.addStretch(), h.addWidget(bb)