mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
fix
This commit is contained in:
parent
16f296b841
commit
341e57ae2d
@ -58,6 +58,9 @@ class LFocusCombo(FocusCombo, LBase):
|
|||||||
for i in range(self.count()):
|
for i in range(self.count()):
|
||||||
self.setItemText(i, _TR(self.__items[i]))
|
self.setItemText(i, _TR(self.__items[i]))
|
||||||
|
|
||||||
|
def changeEvent(self, e: QEvent):
|
||||||
|
super(LFocusCombo, self).changeEvent(e)
|
||||||
|
|
||||||
|
|
||||||
class FocusFontCombo(QFontComboBox, FocusCombo):
|
class FocusFontCombo(QFontComboBox, FocusCombo):
|
||||||
pass
|
pass
|
||||||
@ -123,7 +126,7 @@ def getQMessageBox(
|
|||||||
useok=True,
|
useok=True,
|
||||||
usecancel=False,
|
usecancel=False,
|
||||||
okcallback=None,
|
okcallback=None,
|
||||||
cancelcallback=None
|
cancelcallback=None,
|
||||||
):
|
):
|
||||||
msgBox = LMessageBox(parent)
|
msgBox = LMessageBox(parent)
|
||||||
msgBox.setWindowTitle((title))
|
msgBox.setWindowTitle((title))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user