Changeset 1275


Ignore:
Timestamp:
08/07/11 11:12:18 (3 years ago)
Author:
philmoz
Message:

Fix for cameras with rear control wheel - if the wheel is turned in <Alt> mode before opening any menu, the menu display may be incorrect (may be displayed in the wrong place or without the header line).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/gui_menu.c

    r1250 r1275  
    174174                     (curr_menu->menu[gui_menu_curr_item].type & MENUITEM_MASK)==MENUITEM_SEPARATOR); 
    175175            int_incr = 1; 
    176             gui_menu_redraw=1; 
     176            if (gui_menu_redraw == 0) gui_menu_redraw=1; 
    177177                        } 
    178178            break; 
     
    195195                     (curr_menu->menu[gui_menu_curr_item].type & MENUITEM_MASK)==MENUITEM_SEPARATOR); 
    196196            int_incr = 1; 
    197             gui_menu_redraw=1; 
     197            if (gui_menu_redraw == 0) gui_menu_redraw=1; 
    198198                        } 
    199199            break; 
Note: See TracChangeset for help on using the changeset viewer.