mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsItem/CComponentsForm: add property focus
Specifies that some certain operations especially eg. exec events for that item are possible.
This commit is contained in:
@@ -111,6 +111,7 @@ void CComponentsForm::addCCItem(CComponentsItem* cc_Item)
|
||||
//assign item index
|
||||
int new_index = genIndex();
|
||||
cc_Item->setIndex(new_index);
|
||||
cc_Item->setFocus(true);
|
||||
|
||||
dprintf(DEBUG_DEBUG, "\t%s-%d parent index = %d, assigned index ======> %d\n", __func__, __LINE__, cc_item_index, new_index);
|
||||
|
||||
|
Reference in New Issue
Block a user