Commit 061dac72 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix quick menu

parent 54f0ce62
...@@ -1415,7 +1415,7 @@ class SDL_Scene(QGraphicsScene): ...@@ -1415,7 +1415,7 @@ class SDL_Scene(QGraphicsScene):
action.triggered.connect(partial(add_symbol, action.triggered.connect(partial(add_symbol,
sort, sort,
rect=rect)) rect=rect))
if map(setup_action, candidates): if list(map(setup_action, candidates)):
menu.exec_(pos) menu.exec_(pos)
def cancel(self): def cancel(self):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment