Drawer state is kept in the property.
--- 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
Binary file org.symbian.tools.wrttools/libraries/wrtkit.zip has changed