forked from Ivasoft/DSView
fix: The Up and Down key is disabled on windows 10
This commit is contained in:
@@ -1336,6 +1336,9 @@ namespace pv
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Qt::Key_Up:
|
case Qt::Key_Up:
|
||||||
|
#ifdef _WIN32
|
||||||
|
case 38:
|
||||||
|
#endif
|
||||||
for (auto s : sigs)
|
for (auto s : sigs)
|
||||||
{
|
{
|
||||||
if (s->signal_type() == SR_CHANNEL_DSO){
|
if (s->signal_type() == SR_CHANNEL_DSO){
|
||||||
@@ -1351,6 +1354,9 @@ namespace pv
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case Qt::Key_Down:
|
case Qt::Key_Down:
|
||||||
|
#ifdef _WIN32
|
||||||
|
case 40:
|
||||||
|
#endif
|
||||||
for (auto s : sigs)
|
for (auto s : sigs)
|
||||||
{
|
{
|
||||||
if (s->signal_type() == SR_CHANNEL_DSO){
|
if (s->signal_type() == SR_CHANNEL_DSO){
|
||||||
|
|||||||
Reference in New Issue
Block a user