Commits

Anonymous committed 086c1e2

fs34b: #i117545# (patch provided by mathias.bauer@oracle.com)

Comments (0)

Files changed (1)

sw/source/ui/uno/unomod.cxx

 				aOpt.setBrowseMode( bVal );
 				pView->GetWrtShell().ApplyViewOptions( aOpt );
 				pView->RecheckBrowseMode();
+
+				// must be set in mpViewOption as this will overwrite settings in _post!
+				mpViewOption->setBrowseMode( bVal );
+
+				// disable multiple layout
+				pView->GetDocShell()->ToggleBrowserMode(bVal, pView );
             }
 		}
 		break;