From 2951523aaf09bdbf810f72f70b998698d9b9d68e Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Wed, 28 Mar 2018 14:01:26 +0200 Subject: [PATCH] Don't use a tab fence --- inputcontext/QskInputContext.cpp | 7 ------- src/controls/QskInputPanel.cpp | 5 +++-- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/inputcontext/QskInputContext.cpp b/inputcontext/QskInputContext.cpp index 9d8ba5a5..c516740b 100644 --- a/inputcontext/QskInputContext.cpp +++ b/inputcontext/QskInputContext.cpp @@ -226,15 +226,8 @@ void QskInputContext::setFocusObject( QObject* focusObject ) { m_inputItem = focusQuickItem; m_inputCompositionModel->setInputItem( m_inputItem ); // ### use a signal/slot connection - if( m_inputPanel ) - m_inputPanel->setTabFence( false ); inputItemChanged = true; } - else - { - if( m_inputPanel ) - m_inputPanel->setTabFence( true ); - } } if( inputItemChanged ) diff --git a/src/controls/QskInputPanel.cpp b/src/controls/QskInputPanel.cpp index 7e286d8c..13891342 100644 --- a/src/controls/QskInputPanel.cpp +++ b/src/controls/QskInputPanel.cpp @@ -281,8 +281,9 @@ QskInputPanel::QskInputPanel( QQuickItem* parent ): setFlag( ItemIsFocusScope, true ); - // ### for some reason we never get focus when this is a tab fence: -// setTabFence( true ); +#if 0 + setTabFence( true ); +#endif setAutoLayoutChildren( true );