Patch level : 2.0 622

Files correlati     : ba1.exe
Ricompilazione Demo : [ ]
Commento            :

AO20115
Se con la visualizzazione del menù normale dalla videata degli ordini si
cambia studio, viene restituito un errore che non riesce a trovare
lo sfondo BMP, seguito da un errore su BA0. Ho notato inoltre che la
videata degli ordini acquisisce come sfondo quello utilizzato da un'altra
videata dalla quale in precedenza si ha effettuato un cambio di studio.


git-svn-id: svn://10.65.10.50/trunk@11540 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2003-10-27 15:53:47 +00:00
parent b800806e0c
commit c504b36ab3

View File

@ -645,19 +645,24 @@ bool TObject_tree::kill_node()
TString id; curr_id(id);
_expanded.remove(id);
#endif
delete _current;
TTree_node* to_be_killed = _current;
if (_current == _root)
_root = NULL;
if (cur->_rbrother)
_current = cur->_rbrother;
if (_current->_rbrother)
_current = _current->_rbrother;
else
{
if (cur->_lbrother)
_current = cur->_lbrother;
if (_current->_lbrother)
_current = _current->_lbrother;
else
_current = cur->_father;
_current = _current->_father;
}
delete to_be_killed;
ok = TRUE;
}
return ok;