mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Merge pull request #30 from MixedMatched/omega-master
Fix child display in settings
This commit is contained in:
@@ -172,8 +172,16 @@ void MainController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
case 3:
|
||||
childIndex = (int)preferences->complexFormat();
|
||||
break;
|
||||
case 7:
|
||||
childIndex = (int)preferences->colorOfLED();
|
||||
//after prompt
|
||||
case 8:
|
||||
if (!hasPrompt()) {
|
||||
childIndex = (int)preferences->colorOfLED();
|
||||
}
|
||||
break;
|
||||
case 9:
|
||||
if (hasPrompt()) {
|
||||
childIndex = (int)preferences->colorOfLED();
|
||||
}
|
||||
break;
|
||||
}
|
||||
I18n::Message message = childIndex >= 0 ? model()->children(index)->children(childIndex)->label() : I18n::Message::Default;
|
||||
|
||||
Reference in New Issue
Block a user