From: Son Hyunjun Date: Fri, 6 Apr 2012 14:34:34 +0000 (+0900) Subject: [Title] fix bug : mismatching scal state in context menu after doing Always On Top X-Git-Tag: TizenStudio_2.0_p2.3~1533 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d4f777fe573f813fd8c61394a91f900bd74cd5b;p=sdk%2Femulator%2Fqemu.git [Title] fix bug : mismatching scal state in context menu after doing Always On Top [Type] Bugfix [Module] Skin [Priority] Minor [CQ#] [Redmine#] [Problem] [Cause] [Solution] Change-Id: I3341642807e7b5471e1a78e3489dd32f9a536d62 --- diff --git a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java index df813ea..f6838ef 100644 --- a/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java +++ b/tizen/src/skin/client/src/org/tizen/emulator/skin/EmulatorSkin.java @@ -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 ); }