mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
msgbox: simplify call for extraction of button label
Origin commit data
------------------
Commit: 1f706130d6
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-03-27 (Sun, 27 Mar 2022)
This commit is contained in:
@@ -345,7 +345,7 @@ int CMsgBox::exec()
|
||||
//***action buttons without preselection***
|
||||
for (size_t i = 0; i< ccw_footer->getButtonChainObject()->size(); i++)
|
||||
{
|
||||
CComponentsButton* btn_action = static_cast<CComponentsButton*>(ccw_footer->getButtonChainObject()->getCCItem(i));
|
||||
CComponentsButton* btn_action = ccw_footer->getButtonLabel(i);
|
||||
if (btn_action)
|
||||
{
|
||||
if (btn_action->hasButtonDirectKey(msg))
|
||||
|
Reference in New Issue
Block a user