1
0
Fork 0

nasal dialogs are separate trees and have an empty name

This commit is contained in:
mfranz 2005-07-13 07:05:50 +00:00
parent eefd7dee8c
commit 4ac0776e97

View file

@ -667,6 +667,9 @@ void
FGDialog::setColor(puObject * object, SGPropertyNode * props, int which)
{
string type = props->getName();
if (type == "")
type = "dialog";
FGColor c(_gui->getColor("background"));
c.merge(_gui->getColor(type));
c.merge(props->getNode("color"));