summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/guitable.cpp')
-rw-r--r--src/gui/widgets/guitable.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index 4e966599e..39f08340d 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -599,3 +599,10 @@ void GuiTable::_setFocusHandler(gcn::FocusHandler* focusHandler)
}
}
}
+
+void GuiTable::requestFocus()
+{
+ if (!mFocusHandler)
+ return;
+ gcn::Widget::requestFocus();
+}