Fixed an error with GuiInputConfig initialization that was triggering an assert.

This commit is contained in:
Aloshi 2014-03-29 18:42:40 -05:00
parent 8d67cc1053
commit 526c0bb038

View file

@ -52,7 +52,6 @@ GuiInputConfig::GuiInputConfig(Window* window, InputConfig* target, bool reconfi
mGrid.setEntry(mSubtitle2, Vector2i(0, 3), false, true); mGrid.setEntry(mSubtitle2, Vector2i(0, 3), false, true);
// 4 is a spacer row // 4 is a spacer row
mGrid.setEntry(std::make_shared<GuiComponent>(mWindow), Vector2i(4, 0), false);
mList = std::make_shared<ComponentList>(mWindow); mList = std::make_shared<ComponentList>(mWindow);
mGrid.setEntry(mList, Vector2i(0, 5), true, true); mGrid.setEntry(mList, Vector2i(0, 5), true, true);