I can add a new column and a new row
This commit is contained in:
@@ -43,6 +43,9 @@ class Menu(MultipleInstance):
|
||||
}
|
||||
|
||||
def _mk_menu(self, command_name):
|
||||
if not isinstance(command_name, str):
|
||||
return command_name
|
||||
|
||||
command = self.usable_commands.get(command_name)
|
||||
return mk.icon(command.icon or IconsHelper.get("QuestionMark"),
|
||||
command=command,
|
||||
|
||||
Reference in New Issue
Block a user