U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TreeCtrl » Bug crashing application in Upp2008.1
icon4.gif  Bug crashing application in Upp2008.1 [message #20727] Thu, 02 April 2009 08:44 Go to previous message
qapko is currently offline  qapko
Messages: 55
Registered: October 2007
Location: Slovakia
Member
Hello,
In TreeCtrl.cpp of Upp2008.1 it seems to be bug that may crash application (by assertion in Vector) in some situations when closing the tree node. It looks like in code at line 418:

if(treesize != sb.GetTotal()) {
sb.SetTotal(treesize);
Refresh();
}
cursor = -1;

there should be:

cursor = -1;
if(treesize != sb.GetTotal()) {
sb.SetTotal(treesize);
Refresh();
}

I have looked at the newest night build and there the code seems to be changed slightly.

Have a nice day Smile
Gabi
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Previous Topic: PopUpTree related questions
Next Topic: bug with shift select
Goto Forum:
  


Current Time: Sun May 03 16:03:55 GMT+2 2026

Total time taken to generate the page: 0.00645 seconds