UN-GCPDS / qt-material

Material inspired stylesheet for PySide2, PySide6, PyQt5 and PyQt6
https://qt-material.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
2.3k stars 242 forks source link

Crash when changing theme in runtime 2 times #2

Closed maicol07 closed 4 years ago

maicol07 commented 4 years ago

When changing theme in runtime 2 times the app crashes.

Error code:

Process finished with exit code -1073741819 (0xC0000005)

Steps:

Change theme to one of pyside-material 2 times, one after the other

YeisonCardona commented 4 years ago

Hi @maicol07, you are right, there was a bug on reload resources. I added to the example in test/main.py the feature to change the theme on runtime that seems to works for me, could you test it on your system, thanks.

maicol07 commented 4 years ago

Ok, this is fixed