Project

General

Profile

« Previous | Next » 

Revision 87d86e5f

Added by Leszek Koltunski about 3 years ago

Minor.

View differences:

src/main/java/org/distorted/screens/RubikScreenPlay.java
472 472

  
473 473
  public void savePreferences(SharedPreferences.Editor editor)
474 474
    {
475
    android.util.Log.e("D", "savePrefs");
476

  
475 477
    RubikObject object = RubikObjectList.getObject(mObject);
476 478

  
477 479
    if( object!=null )
478 480
      {
479 481
      editor.putString("statePlay_objName", object.getName() );
480 482
      }
481

  
482
    if( mObjectPopup!=null )
483
      {
484
      mObjectPopup.dismiss();
485
      mObjectPopup = null;
486
      }
487

  
488
    if( mMenuPopup!=null )
489
      {
490
      mMenuPopup.dismiss();
491
      mMenuPopup = null;
492
      }
493

  
494
    if( mPlayPopup!=null )
495
      {
496
      mPlayPopup.dismiss();
497
      mPlayPopup = null;
498
      }
499 483
    }
500 484

  
501 485
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff