7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 16:21:41 +00:00
Wayne Stambaugh 2025-03-17 12:55:54 -04:00
parent 47984b6793
commit f53d1a5356

View File

@ -49,7 +49,8 @@ public:
{ }
TOOLBAR_ITEM( TOOLBAR_ITEM_TYPE aType ) :
m_Type( aType )
m_Type( aType ),
m_Size( 0 )
{ }
TOOLBAR_ITEM( TOOLBAR_ITEM_TYPE aType, int aSize ) :
@ -60,7 +61,8 @@ public:
}
TOOLBAR_ITEM( TOOLBAR_ITEM_TYPE aType, std::string aName ) :
m_Type( aType )
m_Type( aType ),
m_Size( 0 )
{
if( aType == TOOLBAR_ITEM_TYPE::CONTROL )
m_ControlName = aName;