GUI2/Menu Button: added getter for selected row config
This commit is contained in:
parent
ae48811ba4
commit
39069c1afa
1 changed files with 6 additions and 0 deletions
|
@ -92,6 +92,12 @@ public:
|
|||
return values_[selected_]["label"];
|
||||
}
|
||||
|
||||
/** Returns the entire config object for the selected row. */
|
||||
const ::config& get_value_config() const
|
||||
{
|
||||
return values_[selected_];
|
||||
}
|
||||
|
||||
void set_keep_open(const bool keep_open)
|
||||
{
|
||||
keep_open_ = keep_open;
|
||||
|
|
Loading…
Add table
Reference in a new issue