cleanup
add wheel item metrics
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "ThemeManager.h"
|
||||
|
||||
|
||||
static ThemeMetric<bool> SHOW_TRAINING ("WheelNotifyIcon","ShowTraining");
|
||||
|
||||
WheelNotifyIcon::WheelNotifyIcon()
|
||||
{
|
||||
@@ -39,7 +40,7 @@ void WheelNotifyIcon::SetFlags( Flags flags )
|
||||
default: ASSERT(0);
|
||||
}
|
||||
|
||||
if( flags.bHasBeginnerOr1Meter )
|
||||
if( flags.bHasBeginnerOr1Meter && (bool)SHOW_TRAINING )
|
||||
m_vIconsToShow.push_back( training );
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user