# HG changeset patch # User Eugene Ostroukhov # Date 1277162001 25200 # Node ID bd0603d7cbf94debb7fc706f9fd992c5663b3090 # Parent 5b968742b72912a22c457b89be99109b27435259# Parent 942398ff3ab736d3cd0e19967f0e5b9b72ac0631 Drawer state is kept in the property. diff -r 5b968742b729 -r bd0603d7cbf9 org.symbian.tools.wrttools.previewer/preview/script/nokia.js --- a/org.symbian.tools.wrttools.previewer/preview/script/nokia.js Mon Jun 21 15:49:28 2010 -0700 +++ b/org.symbian.tools.wrttools.previewer/preview/script/nokia.js Mon Jun 21 16:13:21 2010 -0700 @@ -526,12 +526,11 @@ { if(this.loaded) return false; - + NOKIA.layout._console_minimized = (NOKIA.helper.getPreference('__SYM_NOKIA_CONSOLE_OPEN') != "true"); // load the saved device Info var device = NOKIA.helper.getPreference('__SYM_NOKIA_EMULATOR_DEVICE'); NOKIA.currentDevice = device || NOKIA.currentDevice; - // load the saved device mode var mode = NOKIA.helper.getPreference('__SYM_NOKIA_EMULATOR_DEVICE_MODE'); if(mode != null) @@ -1357,6 +1356,7 @@ NOKIA.layout._console_minimized = (NOKIA.layout._console_minimized) ? false : true; NOKIA.layout.render(); + NOKIA.helper.setPreference("__SYM_NOKIA_CONSOLE_OPEN", !NOKIA.layout._console_minimized); }); // clear Log diff -r 5b968742b729 -r bd0603d7cbf9 org.symbian.tools.wrttools/libraries/wrtkit.zip Binary file org.symbian.tools.wrttools/libraries/wrtkit.zip has changed