]> git.mxchange.org Git - flightgear.git/commit
don't check for subsequent indices (n), but for child positions; This way
authormfranz <mfranz>
Wed, 14 Dec 2005 07:45:47 +0000 (07:45 +0000)
committermfranz <mfranz>
Wed, 14 Dec 2005 07:45:47 +0000 (07:45 +0000)
commit98081d9243fba9bf01dd827b9036efedfb842cb8
treea079b2204042492ad016e4dbcb14ffe78b5a6450
parent7c0cf9dff9bcba5e85fac60ebe099793fb49f413
don't check for subsequent indices (n), but for child positions; This way
it's also possible to enable/disable menu/item entries with higher numbers.
This can be useful for adding entries from other config files (aircraft
specific or local). I'd say aircraft files can use indices starting with
[100] and local files starting with [1000]. Such high number will never
collide with an entry in menubar.xml, even if entries are added/removed
there.
src/GUI/menubar.cxx
src/GUI/menubar.hxx