UI refactoring, part 2 #1394

Open
g1itch wants to merge 14 commits from g1itch/ui-refactoring into v0.6
Showing only changes of commit 86cbcdd699 - Show all commits

View File

@ -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: