FLTK logo

[Library] r5759 - branches/fctrunk/src

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[Library] r5759 - branches/fctrunk/src fltk-dev Apr 05, 2007  
 
Author: fabien
Date: 2007-04-05 05:47:53 -0400 (Thu, 05 Apr 2007)
New Revision: 5759
Log:
1648 related fixed version

Modified:
   branches/fctrunk/src/Menu_popup.cxx

Modified: branches/fctrunk/src/Menu_popup.cxx
===================================================================
--- branches/fctrunk/src/Menu_popup.cxx	2007-04-05 09:37:50 UTC (rev 5758)
+++ branches/fctrunk/src/Menu_popup.cxx	2007-04-05 09:47:53 UTC (rev 5759)
@@ -710,10 +710,10 @@
       }
       return 1;
     case UpKey:
-      if (p.hmenubar && p.level == 0)  
-		if (forward(p, p.level+1) && //enter the submenu first
-			p.hmenubar) 
-		  backward(p,p.level);
+		if (p.hmenubar && p.level == 0) 
+			if (!forward(p, p.level+1) && // try enter the submenu first
+				p.hmenubar) return 1;
+		backward(p,p.level);
       return 1;
     case DownKey:
       if (p.level || !p.hmenubar) 

Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.