Project

General

Profile

« Previous | Next » 

Revision 53f23b64

Added by Leszek Koltunski about 4 years ago

Progress with Pretty Patterns - do away with the tabbed dialog!

View differences:

src/main/java/org/distorted/dialog/RubikDialogSetName.java
122 122
        RubikStatePlay play = (RubikStatePlay) RubikState.PLAY.getStateClass();
123 123
        int object = play.getObject();
124 124
        int size   = play.getSize();
125
        int sizeIndex = RubikObjectList.getSizeIndex(object,size);
125 126

  
126 127
        Bundle bundle = new Bundle();
127
        bundle.putInt("tab", RubikObjectList.pack(object,size) );
128
        bundle.putInt("tab", RubikObjectList.pack(object,sizeIndex) );
128 129
        bundle.putBoolean("submitting", true);
129 130

  
130 131
        RubikDialogScores scores = new RubikDialogScores();

Also available in: Unified diff