vgui_controls: fix unitialized boolean

This commit is contained in:
nillerusr 2020-11-18 03:10:09 +03:00
parent f27eb7916b
commit d3f308699b
2 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ void Button::Init()
m_bSelectionStateSaved = false;
m_bStaySelectedOnClick = false;
m_bStaySelectedOnClick = false;
m_bStayArmedOnClick = false;
m_sArmedSoundName = UTL_INVAL_SYMBOL;
m_sDepressedSoundName = UTL_INVAL_SYMBOL;
m_sReleasedSoundName = UTL_INVAL_SYMBOL;

View File

@ -500,6 +500,7 @@ PropertySheet::PropertySheet(
m_pTabKV = NULL;
m_iTabHeight = 0;
m_iTabHeightSmall = 0;
m_bContextButton = false;
if ( m_bDraggableTabs )
{