mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
CComponentsForm: avoid segfault, if id is out of range
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0ab881b338
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-26 (Tue, 26 Aug 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -120,7 +120,7 @@ class CComponentsForm : public CComponentsItem
|
||||
///returns id of select item, return value as int, returns -1: if is nothing selected
|
||||
virtual int getSelectedItem();
|
||||
///select a definied item, parameter1 as size_t
|
||||
virtual void setSelectedItem(size_t item_id);
|
||||
virtual void setSelectedItem(int item_id);
|
||||
///select a definied item, parameter1 as CComponentsItem*
|
||||
virtual void setSelectedItem(CComponentsItem* cc_item);
|
||||
};
|
||||
|
Reference in New Issue
Block a user