Fix a bug in RawCommand Tab

Not all of the keys should be redirected.
pull/33/head
wh201906 4 years ago
parent 705c8de54c
commit 90e4fde882

@ -273,7 +273,8 @@ void MainWindow::on_Raw_keyPressed(QObject* obj_addr, QEvent& event)
} }
else if(obj_addr == ui->Raw_outputEdit) else if(obj_addr == ui->Raw_outputEdit)
{ {
ui->Raw_CMDEdit->setFocus(); if(keyEvent.key() == Qt::Key_Up || keyEvent.key() == Qt::Key_Down)
ui->Raw_CMDEdit->setFocus();
} }
} }
} }

Loading…
Cancel
Save