--- a/plugins/org.symbian.tools.tmw.previewer/preview/script/lib/widget.js Mon Sep 27 11:43:44 2010 -0700
+++ b/plugins/org.symbian.tools.tmw.previewer/preview/script/lib/widget.js Mon Oct 11 14:10:17 2010 -0700
@@ -177,7 +177,7 @@
widget.setDisplayLandscape = function(){
try {
if (this.isrotationsupported && _BRIDGE_REF.nokia.emulator.orientationSupports()) {
- _BRIDGE_REF.nokia.emulator.setMode('landscape');
+ _BRIDGE_REF.nokia.emulator.setMode('landscape', true);
}
}
catch (e) {
@@ -198,7 +198,7 @@
widget.setDisplayPortrait = function(){
try {
if (this.isrotationsupported && _BRIDGE_REF.nokia.emulator.orientationSupports()) {
- _BRIDGE_REF.nokia.emulator.setMode('portrait');
+ _BRIDGE_REF.nokia.emulator.setMode('portrait', true);
}
}
catch (e) {