Changeset 90094 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 8, 2021 12:53:51 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
r90093 r90094 454 454 m_pNameLabel->setBuddy(m_pNameLineEdit); 455 455 m_pMainLayout->addWidget(m_pNameLineEdit, iRow, 1, 1, 2); 456 setFocusProxy(m_pNameLineEdit);457 456 } 458 457 … … 576 575 * after all widgets were created: */ 577 576 prepareFamilyCombo(); 577 } 578 } 579 /* Set top most widget of the 2nd column as focus proxy: */ 580 for (int i = 0; i < m_pMainLayout->rowCount(); ++i) 581 { 582 QLayoutItem *pItem = m_pMainLayout->itemAtPosition(i, 1); 583 if (pItem && pItem->widget()) 584 { 585 setFocusProxy(pItem->widget()); 586 break; 578 587 } 579 588 }
Note:
See TracChangeset
for help on using the changeset viewer.