Project

General

Profile

« Previous | Next » 

Revision 044529c1

Added by Leszek Koltunski about 4 years ago

Remember state of the dialog.

View differences:

src/main/java/org/distorted/uistate/RubikStatePattern.java
153 153
          }
154 154
        else
155 155
          {
156
          diag.rememberCategories();
156 157
          diag.dismiss();
157 158
          RubikState.goBack(act);
158 159
          }
......
164 165

  
165 166
  public void setPattern(int sizeIndex, int category, int pattern)
166 167
    {
168
    mSize = RubikObjectList.CUBE.getSizes()[sizeIndex];
169

  
167 170
    RubikPattern patt = RubikPattern.getInstance();
168 171
    String patternName = patt.getPatternName(sizeIndex,category,pattern);
169 172
    mText.setText(patternName);

Also available in: Unified diff