mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Added missing line to desktop/onionshare/gui_common.py
This commit is contained in:
parent
fadba5506a
commit
7936cb85be
@ -602,6 +602,7 @@ class ToggleCheckbox(QtWidgets.QCheckBox):
|
||||
painter.setRenderHint(QtGui.QPainter.Antialiasing)
|
||||
painter.setPen(QtCore.Qt.NoPen)
|
||||
opt = QtWidgets.QStyleOptionButton()
|
||||
opt.initFrom(self)
|
||||
self.initStyleOption(opt)
|
||||
s = self.style()
|
||||
s.drawControl(QtWidgets.QStyle.CE_CheckBox, opt, painter, self)
|
||||
|
Loading…
Reference in New Issue
Block a user