mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed unnecessary calls to DisplayCurrent() for editable menu items
This commit is contained in:
		@@ -2592,6 +2592,7 @@ Markus Ehrnsperger <markus.ehrnsperger@googlemail.com>
 | 
				
			|||||||
 for fixing handling margins for timers that are not VPS controlled and not spawned
 | 
					 for fixing handling margins for timers that are not VPS controlled and not spawned
 | 
				
			||||||
 for implementing cStatus::OsdItem2() with the information whether the item is selectable
 | 
					 for implementing cStatus::OsdItem2() with the information whether the item is selectable
 | 
				
			||||||
 for reporting an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2()
 | 
					 for reporting an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2()
 | 
				
			||||||
 | 
					 for fixing unnecessary calls to DisplayCurrent() for editable menu items
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Werner F<>rber <w.faerber@gmx.de>
 | 
					Werner F<>rber <w.faerber@gmx.de>
 | 
				
			||||||
 for reporting a bug in handling the cPluginManager::Active() result when pressing
 | 
					 for reporting a bug in handling the cPluginManager::Active() result when pressing
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							@@ -10066,3 +10066,5 @@ Video Disk Recorder Revision History
 | 
				
			|||||||
- Fixed an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2() (reported
 | 
					- Fixed an improper call of cStatus::OsdCurrentItem() before cStatus::OsdItem2() (reported
 | 
				
			||||||
  by Markus Ehrnsperger).
 | 
					  by Markus Ehrnsperger).
 | 
				
			||||||
- Fixed an unnecessary redisplay of the menu when pressing a hotkey.
 | 
					- Fixed an unnecessary redisplay of the menu when pressing a hotkey.
 | 
				
			||||||
 | 
					- Fixed unnecessary calls to DisplayCurrent() for editable menu items (thanks to Markus
 | 
				
			||||||
 | 
					  Ehrnsperger).
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,7 +4,7 @@
 | 
				
			|||||||
 * See the main source file 'vdr.c' for copyright information and
 | 
					 * See the main source file 'vdr.c' for copyright information and
 | 
				
			||||||
 * how to reach the author.
 | 
					 * how to reach the author.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * $Id: osdbase.c 5.3 2025/01/29 10:25:55 kls Exp $
 | 
					 * $Id: osdbase.c 5.4 2025/01/29 10:35:25 kls Exp $
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "osdbase.h"
 | 
					#include "osdbase.h"
 | 
				
			||||||
@@ -541,7 +541,8 @@ eOSState cOsdMenu::ProcessKey(eKeys Key)
 | 
				
			|||||||
  if (marked < 0 && item) {
 | 
					  if (marked < 0 && item) {
 | 
				
			||||||
     eOSState state = item->ProcessKey(Key);
 | 
					     eOSState state = item->ProcessKey(Key);
 | 
				
			||||||
     if (state != osUnknown) {
 | 
					     if (state != osUnknown) {
 | 
				
			||||||
        DisplayCurrent(true);
 | 
					        if (Key != kNone)
 | 
				
			||||||
 | 
					           DisplayCurrent(true);
 | 
				
			||||||
        return state;
 | 
					        return state;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user