[Gambas-bugtracker] Bug #2420: qt5 triggers Form_Show twice on opening

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Dec 13 00:53:06 CET 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2420&from=L21haW4-

Comment #3 by Benoît MINISINI:

I can't reproduce the bug on my computer. I get only one Show event.

By the way, I don't think AddFirst() is a good idea.

I think a better idea is using the IsMissing() function in the Add() method so that:

- Add(Key, Text, Picture) adds the new item at the end.

- Add(Key, Text, Picture, Null) adds the new item at the beginning.




More information about the Bugtracker mailing list