Ensure viewpages will have focus. To choose a focused widget inside it,
a viewpage should override void focusInEvent( QFocusEvent* ).
This commit is contained in:
parent
8b343ace4a
commit
058be8beb2
@ -122,6 +122,7 @@ ViewManager::insertViewStep( int before, ViewStep* step)
|
||||
} );
|
||||
|
||||
m_stack->setCurrentIndex( 0 );
|
||||
step->widget()->setFocus();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user