KLayout / klayout

KLayout Main Sources
http://www.klayout.org
GNU General Public License v3.0
808 stars 206 forks source link

Close event in Marker Database Browser dialog #1908

Open EugeneZelenko opened 1 month ago

EugeneZelenko commented 1 month ago

Hi, Matthias!

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.