Menu Designer patch for assorted issues
Original Reporter info from Mantis: mike.cornflake
-
Reporter name: Mike Thompson
Original Reporter info from Mantis: mike.cornflake
- Reporter name: Mike Thompson
Description:
Two patches attached, both required for Menu Designer working under QT.
Additional information:
"designermenu.pp.patch"
Drag/Drop working under QT
Previously noted Z-Order issue resolved
There were several scenarios under both existing and new functionality where the designer wasn't notified that menu items had changed (and so no request to save changes when form closed). This has been resolved everywhere I could find it broken.
Two unneeded variable removed
Two enumerated types added to improve readability of two routines that were being passed TheAction:Integer
Stopped ability for a Menu Item to be dropped on itself (whoops)
"qtwidgets.pas.patch"
Reverts changes made for aborted issue #26759 (was preventing drag from starting under QT under two different circumstances)
Before applying patch this needs to be tested under GTK2. I'm currently experiencing problems unrelated to these patches running Lazarus 1.3/GTK2 under windows.
Mantis conversion info:
- Mantis ID: 26795
- Build: Lazarus 1.3 r46340 Win32