Commit 58f66dc8 authored by Michael Büsch's avatar Michael Büsch

gui/fup: Show compiled result in a modeless dialog

Signed-off-by: Michael Büsch's avatarMichael Buesch <m@bues.ch>
parent 2854ea56
......@@ -223,10 +223,10 @@ class FupWidget(QWidget):
except AwlSimError as e:
MessageBox.handleAwlSimError(self, "FUP compiler error", e)
return
dlg = EditDialog(readOnly=True, withHeader=False, withCpuStats=False)
dlg = EditDialog(self, readOnly=True, withHeader=False, withCpuStats=False)
dlg.setWindowTitle("Compiled FUP/FBD diagram - %s" % self.__source.name)
dlg.edit.setSource(awlSource)
dlg.exec_()
dlg.show()
def __compileAndShowAwl(self):
self.__compileAndShow(S7CPUSpecs.MNEMONICS_DE)
......
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