Skip to content

Commit e7f854a

Browse files
committed
Fix #49 ( by @nutzboi )
1 parent d007859 commit e7f854a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/states_screens/track_info_screen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ void TrackInfoScreen::init()
254254
m_allowed_compound_value_spinner->setValue(tme_rules->tyre_allocation[tyre_mapping[i]-1]);
255255
}
256256
}
257+
m_allowed_compound_selection_spinner->setMax(tyre_mapping.size()-1);
257258
m_allowed_compound_selection_spinner->setVisible(true);
258259
m_allowed_compound_selection_label->setVisible(true);
259260
m_allowed_compound_selection_label->setText(_("Tyre"), false);

0 commit comments

Comments
 (0)