[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

@@ -45,7 +45,8 @@ namespace BlackGui
switch (area) switch (area)
{ {
case InfoAreaAudio: return CIcons::appAudio16(); case InfoAreaAudio: return CIcons::appAudio16();
case InfoAreaVoiceRooms: return CIcons::appVoiceRooms16(); case InfoAreaNotifications: return CIcons::appVoiceRooms16();
case InfoAreaAdvanced: return CIcons::appSettings16();
default: return CIcons::empty(); default: return CIcons::empty();
} }
} }

View File

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