From 6d42a99e7f6d3ea3a9c977604c7cc980a4215f18 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 16 May 2014 15:12:46 +0900 Subject: Improve the tag widget to allow us to tab to the next field If the last key that went in ended a tag and the next key is a tab - deliver that to the TabWidget instead so we can navigate between input fields. Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qt-ui/maintab.cpp') diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 172e4e2d7..5ed1b6704 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -335,6 +335,11 @@ void MainTab::clearEquipment() weightModel->clear(); } +void MainTab::nextInputField(QKeyEvent *event) +{ + keyPressEvent(event); +} + void MainTab::clearInfo() { ui.sacText->clear(); -- cgit v1.2.3-70-g09d2