Skip to content

Commit fe31475

Browse files
committedApr 14, 2016
Fix console errors
1 parent d283223 commit fe31475

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎python/console/console.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,9 @@ def __init__(self, parent=None):
407407
}
408408

409409
self.classMenu = QMenu()
410-
for (title, icon), commands in default_command.iteritems():
410+
for (title, icon), commands in default_command.items():
411411
action = self.classMenu.addAction(icon, title)
412-
action.triggered[()].connect(
Code has comments. Press enter to view.
412+
action.triggered.connect(
413413
lambda commands=commands: self.shell.commandConsole(commands))
414414

415415
cM = self.toolBar.widgetForAction(self.actionClass)

0 commit comments

Comments
 (0)
Please sign in to comment.