[AFV] Ref T739, correct tabs for cockpit info area

This commit is contained in:
Klaus Basan
2019-10-26 02:54:40 +02:00
committed by Mat Sutcliffe
parent 9447db00bc
commit 2ac58deda1
2 changed files with 8 additions and 6 deletions

View File

@@ -44,9 +44,10 @@ namespace BlackGui
InfoArea area = static_cast<InfoArea>(areaIndex);
switch (area)
{
case InfoAreaAudio: return CIcons::appAudio16();
case InfoAreaVoiceRooms: return CIcons::appVoiceRooms16();
default: return CIcons::empty();
case InfoAreaAudio: return CIcons::appAudio16();
case InfoAreaNotifications: return CIcons::appVoiceRooms16();
case InfoAreaAdvanced: return CIcons::appSettings16();
default: return CIcons::empty();
}
}

View File

@@ -43,9 +43,10 @@ namespace BlackGui
enum InfoArea
{
// index must match tab index!
InfoAreaVoiceRooms = 0,
InfoAreaAudio = 1,
InfoAreaNone = -1
InfoAreaNotifications = 0,
InfoAreaAudio = 1,
InfoAreaAdvanced = 2,
InfoAreaNone = -1
};
public slots: