I have this code:
Code:
def CreateActions(self): global openAct openAct.setShortcut("Ctrl+O") self.connect(openAct, QtCore.SIGNAL("triggered()"), self, QtCore.SLOT("self.Open(self)")) def Open(self): print "test\n"
When I click the open button in my menu, nothing happens. When the code runs there are no errors. What is the problem?