Quote:
Originally Posted by kovidgoyal
I dont think thats because of geometry, its because of the dockarea being an enum which is not JSON serializable. what you need to do is
self.windowPos['dockarea'] = whatever.value
|
Mmmh, sure, I didn't realized that the signal dockLocationChanged was now passing an enum, not anymore a value.
Thanks for pointing it, it is now working (but I had to include a test "is_pyqt5", since it cannot be the same code for qt5 and qt6)
I wonder what was the pleasure for the PyQt team to complicate the things that much.