[Title] fix bug : mismatching scal state in context menu after doing Always On Top
authorSon Hyunjun <hj79.son@samsung.com>
Fri, 6 Apr 2012 14:34:34 +0000 (23:34 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Fri, 6 Apr 2012 14:34:34 +0000 (23:34 +0900)
[Type] Bugfix
[Module] Skin
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]

Change-Id: I3341642807e7b5471e1a78e3489dd32f9a536d62

tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java

index df813ea..f6838ef 100644 (file)
@@ -1034,13 +1034,11 @@ public class EmulatorSkin {
 
                        }
                };
-
-               int storedScale = SkinUtil.getValidScale( config );
-
+               
                for ( MenuItem menuItem : scaleList ) {
 
                        int scale = ( (Scale) menuItem.getData() ).value();
-                       if ( scale == storedScale ) {
+                       if ( scale == currentScale ) {
                                menuItem.setSelection( true );
                        }