Kaydet (Commit) 2b39501b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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

üst 75b6b24a
...@@ -748,8 +748,13 @@ void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, c ...@@ -748,8 +748,13 @@ void SwXViewSettings::_setSingleValue( const comphelper::PropertyInfo & rInfo, c
aOpt.setBrowseMode( bVal ); aOpt.setBrowseMode( bVal );
pView->GetWrtShell().ApplyViewOptions( aOpt ); pView->GetWrtShell().ApplyViewOptions( aOpt );
pView->RecheckBrowseMode(); pView->RecheckBrowseMode();
// must be set in mpViewOption as this will overwrite settings in _post!
if(mpViewOption) if(mpViewOption)
mpViewOption->setBrowseMode(bVal); mpViewOption->setBrowseMode(bVal);
// disable multiple layout
pView->GetDocShell()->ToggleBrowserMode(bVal, pView );
} }
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment