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/RubikDialogNewRecord.java
85 85
          RubikStatePlay play = (RubikStatePlay) RubikState.PLAY.getStateClass();
86 86
          int object = play.getObject();
87 87
          int size   = play.getSize();
88
          int sizeIndex = RubikObjectList.getSizeIndex(object,size);
88 89

  
89
          bundle.putInt("tab", RubikObjectList.pack(object,size) );
90
          bundle.putInt("tab", RubikObjectList.pack(object,sizeIndex) );
90 91
          bundle.putBoolean("submitting", true);
91 92

  
92 93
          RubikDialogScores scoresDiag = new RubikDialogScores();

Also available in: Unified diff