UI refactoring, part 2 #1394
|
@ -1272,7 +1272,7 @@ class MainWindow(Window):
|
||||||
if event.type() == QtCore.QEvent.LanguageChange:
|
if event.type() == QtCore.QEvent.LanguageChange:
|
||||||
# FIXME: it's called very often
|
# FIXME: it's called very often
|
||||||
self.retranslateUi()
|
self.retranslateUi()
|
||||||
self.init_identities_popup_menu(False)
|
self.init_identities_popup_menu()
|
||||||
self.blackwhitelist.init_blacklist_popup_menu()
|
self.blackwhitelist.init_blacklist_popup_menu()
|
||||||
if event.type() == QtCore.QEvent.WindowStateChange:
|
if event.type() == QtCore.QEvent.WindowStateChange:
|
||||||
if self.windowState() & QtCore.Qt.WindowMinimized:
|
if self.windowState() & QtCore.Qt.WindowMinimized:
|
||||||
|
|
Reference in New Issue
Block a user