Kaydet (Commit) cce54bf3 authored tarafından Szymon Kłos's avatar Szymon Kłos

tdf#102139 : avoid switching to the empty tab after exiting the OLE Object

Change-Id: I67c395106d2a24c679cddaddd9aba138388463a5
Reviewed-on: https://gerrit.libreoffice.org/33237Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSzymon Kłos <eszkadev@gmail.com>
üst 938e918d
......@@ -2286,6 +2286,8 @@ void NotebookbarTabControl::SetCurPageId( sal_uInt16 nPageId )
{
if ( nPageId != 1 )
TabControl::SetCurPageId( nPageId );
if ( nPageId == GetPageCount() )
ImplActivateTabPage( true );
}
void NotebookbarTabControl::ImplActivateTabPage( bool bNext )
......
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