Ed Leafe wrote: > On Feb 6, 2009, at 2:52 PM, Paul McNett wrote: > >>> I wrote this change on Mac, where it seems to be working sanely. >>> I'll now >>> test on Linux and Windows. >> I think this patch is working swimmingly on every platform, but >> please test! > > > This breaks the Class Designer. The reason seems to be that when a > design is created, its default values are determined by creating > another copy of the class, which, if form-based, now calls > restoreSizeAndPosition(), which in turn calls saveState(), in an > infinite loop.
I think you have a flag already somewhere that determines if we are in design mode or not. If so, we can just wrap the restoreSizeAndPosition() in a conditional based on that. > I'll take a look at it tonight to see if I can work around it. Ok, sorry for the oversight. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
