Commit 5841801c authored by Michael Büsch's avatar Michael Büsch

gui: Fix signal emit for QT4

Signed-off-by: Michael Büsch's avatarMichael Buesch <>
parent c6bf0ce7
......@@ -117,8 +117,10 @@ class FupEditWidgetMenu(QMenu):
def __init__(self, parent=None):
QMenu.__init__(self, parent)
self.addAction("Show AWL code (DE)...", self.showAwl)
self.addAction("Show STL code (EN)...", self.showStl)
self.addAction("Show AWL code (DE)...",
lambda: self.showAwl.emit())
self.addAction("Show STL code (EN)...",
lambda: self.showStl.emit())
class FupEditWidget(QWidget):
def __init__(self, parent, interfWidget):
Markdown is supported
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