# ================================ MENU ============================== def init_menu(self): menu_bar = self.menuBar() #File file_menu = menu_bar.addMenu("File") edit_menu = menu_bar.addMenu("Edit") #File new_project = QAction("New project", self) save = QAction("Save", self) load = QAction("Open project", self) file_menu.addAction(new_project) file_menu.addAction(save) file_menu.addAction(load) new_project.triggered.connect(self.new_project_action) save.triggered.connect(self.save_action) load.triggered.connect(self.load_action) save.setShortcut("Ctrl+S") #Edit add_sprite = QAction("Add sprite") add_background = QAction("Add background") add_sound = QAction("Add sound") edit_menu.addAction(add_sprite) edit_menu.addAction(add_background) edit_menu.addAction(add_sound) add_sprite.triggered.connect(self.add_sprite_action) add_background.triggered.connect(self.add_background_action) add_sound.triggered.connect(self.add_sound_action) I have my code there, the sub menu in file menu is appear but the sub menu in edit won't appear. is it kinda of bug? I have been trying a lot of method like moving the places but it doesnt work Continue reading...