fix weird behavior when removing a storyboard option

This commit is contained in:
yugecin 2016-12-12 21:12:16 +01:00
parent 33064b1e69
commit f0781ee1c6

View File

@ -300,8 +300,7 @@ public class SBOverlay implements OptionsOverlay.Parent {
if (optionsMap[index].size() == 0) { if (optionsMap[index].size() == 0) {
optionsMap[index] = null; optionsMap[index] = null;
} }
updateIndex(index - 1); reloadSBsettingsToIndex(index);
updateIndex(index);
return true; return true;
} }
ypos += lh; ypos += lh;