Home » U++ Library support » U++ Widgets - General questions or Mixed problems » DropList bug when removing last item
Re: DropList bug when removing last item [message #14810 is a reply to message #14804] |
Sat, 15 March 2008 15:25   |
bytefield
Messages: 210 Registered: December 2007
|
Experienced Member |
|
|
I guess it could be solved also by adding:
in DropList.cpp(line 88) in Remove function
void DropList::Remove(int i)
{
key.Remove(i);
list.Remove(i);
Adjust();
Sync();
}
Sync-inc seems the right behavior since almost all functions from DropList do that.
PS:Mirek, could you explain if I'm wrong?
cdabbd745f1234c2751ee1f932d1dd75
[Updated on: Sat, 15 March 2008 15:28] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Apr 27 02:52:49 CEST 2025
Total time taken to generate the page: 0.00754 seconds
|