mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CComponentsWindow/Header: fix add of header buttons
setHeaderButtons was without effect
This commit is contained in:
@@ -221,6 +221,13 @@ void CComponentsHeader::initCCHDefaultButtons()
|
||||
#endif
|
||||
}
|
||||
|
||||
void CComponentsHeader::setHeaderDefaultButtons(const int buttons)
|
||||
{
|
||||
cch_buttons = buttons;
|
||||
v_cch_btn.clear();
|
||||
initCCHDefaultButtons();
|
||||
}
|
||||
|
||||
// calculate minimal width of icon form
|
||||
void CComponentsHeader::initCCButtonFormSize()
|
||||
{
|
||||
|
Reference in New Issue
Block a user