mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-26 23:06:44 +01:00
Fixed automatic moving of the cursor when inputting characters with number keys
This commit is contained in:
@@ -3389,6 +3389,8 @@ Stefan Hofmann <stefan.hofmann@t-online.de>
|
|||||||
for adding '~' to the list of delimiters in cTextWrapper
|
for adding '~' to the list of delimiters in cTextWrapper
|
||||||
for suggesting to delete old recording info before reading modified info file
|
for suggesting to delete old recording info before reading modified info file
|
||||||
for fixing strreplace() in case the search string is empty
|
for fixing strreplace() in case the search string is empty
|
||||||
|
for reporting broken automatic moving of the cursor when inputting characters with
|
||||||
|
number keys
|
||||||
|
|
||||||
Stefan Blochberger <Stefan.Blochberger@gmx.de>
|
Stefan Blochberger <Stefan.Blochberger@gmx.de>
|
||||||
for suggesting to automatically display the progress display whenever replay of a
|
for suggesting to automatically display the progress display whenever replay of a
|
||||||
|
|||||||
2
HISTORY
2
HISTORY
@@ -10130,3 +10130,5 @@ Video Disk Recorder Revision History
|
|||||||
- Enabled manually turning subtitles on/off in 'after rewind' mode.
|
- Enabled manually turning subtitles on/off in 'after rewind' mode.
|
||||||
- Limiting timeouts to a minimum of 3ms to avoid problems with polls and waits if timeout is 0.
|
- Limiting timeouts to a minimum of 3ms to avoid problems with polls and waits if timeout is 0.
|
||||||
- Fixed strreplace() in case the search string is empty (thanks to Stefan Hofmann).
|
- Fixed strreplace() in case the search string is empty (thanks to Stefan Hofmann).
|
||||||
|
- Fixed automatic moving of the cursor when inputting characters with number keys (reported
|
||||||
|
by Stefan Hofmann).
|
||||||
|
|||||||
@@ -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: menuitems.c 5.3 2025/01/29 10:20:17 kls Exp $
|
* $Id: menuitems.c 5.4 2025/06/18 20:22:10 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menuitems.h"
|
#include "menuitems.h"
|
||||||
@@ -100,7 +100,7 @@ eOSState cMenuEditIntItem::ProcessKey(eKeys Key)
|
|||||||
bool IsRepeat = Key & k_Repeat;
|
bool IsRepeat = Key & k_Repeat;
|
||||||
Key = NORMALKEY(Key);
|
Key = NORMALKEY(Key);
|
||||||
switch (Key) {
|
switch (Key) {
|
||||||
case kNone: break;
|
case kNone: return state;
|
||||||
case k0 ... k9:
|
case k0 ... k9:
|
||||||
if (fresh) {
|
if (fresh) {
|
||||||
newValue = 0;
|
newValue = 0;
|
||||||
@@ -300,7 +300,7 @@ eOSState cMenuEditPrcItem::ProcessKey(eKeys Key)
|
|||||||
double newValue = round(*value * factor); // avoids precision problems
|
double newValue = round(*value * factor); // avoids precision problems
|
||||||
Key = NORMALKEY(Key);
|
Key = NORMALKEY(Key);
|
||||||
switch (Key) {
|
switch (Key) {
|
||||||
case kNone: break;
|
case kNone: return state;
|
||||||
case k0 ... k9:
|
case k0 ... k9:
|
||||||
if (fresh) {
|
if (fresh) {
|
||||||
newValue = 0;
|
newValue = 0;
|
||||||
|
|||||||
@@ -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.9 2025/02/17 10:49:10 kls Exp $
|
* $Id: osdbase.c 5.10 2025/06/18 20:22:10 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "osdbase.h"
|
#include "osdbase.h"
|
||||||
@@ -579,8 +579,7 @@ 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) {
|
||||||
if (Key != kNone)
|
DisplayCurrent(true);
|
||||||
DisplayCurrent(true);
|
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user