Rimozione bottone Collega nel caso il cursore non contenga elementi.

git-svn-id: svn://10.65.10.50/trunk@2853 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1996-05-20 13:00:18 +00:00
parent af0bd15535
commit 8b6603b9cc

@ -2201,7 +2201,8 @@ KEY TBrowse::run()
if (maskname.mid(4, 3).compare(tabname, 3, TRUE) == 0)
buttons = 0;
}
}
}
if (_cursor->items() == 0 && buttons == 3) buttons = 2; // Toglie il bottone collega se non ci sono elementi
}
for (const char* i = _inp_id.get(0); i; i = _inp_id.get())
{