From 45336cbecb6eff3317a365f271dc548c297f4ffa Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 1 Dec 2011 09:33:12 +0100 Subject: Fix setKeyboardFocus to work recursive on all widgets. Fixes bug where MultiList did not receive keyboard focus when it is the first child in the macro window. --- client/macrowindow.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/macrowindow.cc') diff --git a/client/macrowindow.cc b/client/macrowindow.cc index 48ace4e..f924d8c 100644 --- a/client/macrowindow.cc +++ b/client/macrowindow.cc @@ -328,6 +328,6 @@ void MacroWindow::animated(QWidget *w) setTabOrderRecursive(scrollarea); // Set keyboard focus on the first focusable widget in the macro. - mainwidget->setKeyboardFocus(); + mainwidget->setKeyboardFocusRecursive(); } } -- cgit v1.2.3