On 09.09.2015 17:46, Mattias Gaertner wrote:
About package windows: I just got the following exception on startup
of the IDE when recreating a package editor:
TApplication.HandleException TControl.EnableAutoSizing
PackageEditor_ToDoListLaz:TPackageEditorForm: missing DisableAutoSizing
Stack trace:
$000000000072A9B8 line 5447 of include/control.inc
$000000000157CD63 line 1946 of anchordocking.pas
$000000000157D55D line 2045 of anchordocking.pas
$000000000163CB2B line 232 of anchordesktopoptions.pas
$0000000000DDFFFC line 2111 of environmentopts.pp
$00000000004AF4D8 line 2336 of main.pp
$00000000004A9011 line 1548 of main.pp
$000000000041FE0D line 123 of lazarus.pp
DisableAutoSizing and EnableAutoSizing calls must be balanced.
Mattias
This is strange. I tested and debugged it and package windows are not
recreated at IDE start with the current code (???)
This is due to the over-complicated TSimpleWindowLayoutList.Assign which
I have to refactor. Let's see after the refactoring.
Ondrej
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus