]> git.mxchange.org Git - flightgear.git/commitdiff
hits are consumed by default (prevents actions in lower dialogs)
authormfranz <mfranz>
Sun, 11 Jan 2009 00:49:39 +0000 (00:49 +0000)
committerTim Moore <timoore@redhat.com>
Mon, 12 Jan 2009 12:04:19 +0000 (13:04 +0100)
src/GUI/dialog.cxx

index 0c45133b22ceaa7d8707be552e21dd459010d516..0cf54472b33e19f0cbebc2155b7188f755fe8cce 100644 (file)
@@ -192,7 +192,7 @@ puObject *fgPopup::getActiveInputField(puObject *object)
  */
 int fgPopup::checkHit(int button, int updown, int x, int y)
 {
-    int result = 0;
+    int result = 1;
     if (updown != PU_DRAG && !_dragging)
         result = puPopup::checkHit(button, updown, x, y);