-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When I run the code below with QLabeledRangeSlider, most of the time, when I close the widget (clicking on 'x'), I get the following memory error:
Process finished with exit code -1073741819 (0xC0000005)
This memory error disappears when the MyClass2 class is commented out (strange !) or when I replace QLabeledRangeSlider with QRangeSlider.
import sys
from PySide6.QtWidgets import QApplication, QMainWindow, QWidget, QVBoxLayout
import superqt
class MyClass1(QWidget):
def __init__(self, parent=None):
super().__init__(parent)
# range_slider = superqt.QRangeSlider(self)
labeled_range_slider = superqt.QLabeledRangeSlider(self)
class MyClass2(MyClass1):
...
app = QApplication(sys.argv)
main = QMainWindow()
obj = MyClass1(main)
main.setCentralWidget(obj)
main.show()
sys.exit(app.exec())
- Windows 11
- PySide6
- Python 3.10.11
- superqt 0.7.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working