]> git.mxchange.org Git - flightgear.git/commit
Bug-fix: Cocoa menus work in aircraft with custom dialogs.
authorJames Turner <zakalawe@mac.com>
Wed, 15 Jan 2014 22:00:09 +0000 (22:00 +0000)
committerJames Turner <zakalawe@mac.com>
Wed, 15 Jan 2014 22:00:09 +0000 (22:00 +0000)
commit5e7574c9c2b52c40b84e3e70657ffdedad39eafb
treebc6e7a4cb874721fd5bb298f36af4a4722c66fc7
parent2b55acd3eba188cc0b286b98b48f1f7bc1f5ef5c
Bug-fix: Cocoa menus work in aircraft with custom dialogs.

Restarting the GUI could cause Cocoa menus to misbehave, due to
destruction behaviour of SGBinding. Use new clear() helper in the
short term to work around this.
src/GUI/FGCocoaMenuBar.mm
src/GUI/new_gui.cxx
src/GUI/new_gui.hxx