Drawer state is kept in the property.
authorEugene Ostroukhov <eugeneo@symbian.org>
Mon, 21 Jun 2010 16:13:21 -0700
changeset 394 bd0603d7cbf9
parent 393 5b968742b729 (current diff)
parent 392 942398ff3ab7 (diff)
child 395 1de2c096aee1
Drawer state is kept in the property.
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
Binary file org.symbian.tools.wrttools/libraries/wrtkit.zip has changed