summaryrefslogtreecommitdiff
path: root/sw/source/ui/uno/unomod.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/uno/unomod.cxx')
-rw-r--r--sw/source/ui/uno/unomod.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/ui/uno/unomod.cxx b/sw/source/ui/uno/unomod.cxx
index 25b09c895687..f8fbfdde04ca 100644
--- a/sw/source/ui/uno/unomod.cxx
+++ b/sw/source/ui/uno/unomod.cxx
@@ -782,6 +782,12 @@ void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, c
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;