mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -04:00
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
1 changed files with 1 additions and 0 deletions
|
@ -122,6 +122,7 @@ ViewManager::insertViewStep( int before, ViewStep* step)
|
|||
} );
|
||||
|
||||
m_stack->setCurrentIndex( 0 );
|
||||
step->widget()->setFocus();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue