-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Application exits when right clicked on node label
Code to reproduce
from PyQt5 import QtWidgets as Qtw
from pyqtgraph.flowchart import Flowchart
class MainWindow(Qtw.QWidget):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
layout = Qtw.QGridLayout()
# Create flowchart, define input/output terminals
fc = Flowchart(terminals={
'Input': {'io': 'in'},
'Output': {'io': 'out'},
})
layout.addWidget(fc.widget())
self.setLayout(layout)
self.show()
if __name__ == '__main__':
import sys
app = Qtw.QApplication(sys.argv)
w = MainWindow(windowTitle="create FlowChart")
sys.exit(app.exec_())Expected behavior
Application should be continue running
Real behavior
Application exits
Tested environment(s)
- PyQtGraph version: 0.12.3
- Qt Python binding: PyQt5
- Python version: 3.10
- Operating system: Windows 10
- Installation method: pip
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels