It'll be great if close button in dialog title would call accept method (in closeEvent), so both Close button in dialog and and title will send same signal that could be intercepted and processed.
It worked that way before in KLayout 0.28.12 / Qt 5.14.2 but stopped in KLayout 0.29.7 / Qt 6.7.3. Probably this is effect of Qt 6.
Currently I use event filter to translate close event to accept as workaround.
Hi, Matthias!
It'll be great if close button in dialog title would call
accept
method (incloseEvent
), so bothClose
button in dialog and and title will send same signal that could be intercepted and processed.It worked that way before in KLayout 0.28.12 / Qt 5.14.2 but stopped in KLayout 0.29.7 / Qt 6.7.3. Probably this is effect of Qt 6.
Currently I use event filter to translate close event to
accept
as workaround.