fix an issue where updating the menu bar multiple times would actually just add to it
parent
7d3f606304
commit
bcd9d00a47
|
@ -30,6 +30,7 @@ class Window(QtWidgets.QMainWindow):
|
|||
# if not a sub menu
|
||||
if menu == None:
|
||||
menu = self.menuBar()
|
||||
menu.clear()
|
||||
|
||||
#Looping through entire menu_dict
|
||||
for entry in menu_dict:
|
||||
|
|
Reference in New Issue