basctl/source/basicide/basidesh.cxx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
New commits: commit 7357210723e4bd90ca9b2c554d5667eb0085c19e Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Jan 21 09:37:12 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Jan 21 20:56:37 2021 +0100 Resolves: tdf#133345 Macros Editor IDE: no dialogbox tabs Revert "property browser appearing as a blank area when changing modules" This reverts commit a07f0a57378a8901d647e3e5de8347445a82ea17. I no longer see a stray property browser area with this reverted anyway. Change-Id: Icbf7c59f582172a9baef9e512c7ddbf7fba0ff85 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109752 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 28fea6e3dcc1..a42722ca9816 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -698,15 +698,14 @@ void Shell::UpdateWindows() for ( sal_Int32 j = 0 ; j < nDlgCount ; j++ ) { OUString aDlgName = pDlgNames[ j ]; + // this find only looks for non-suspended windows; + // suspended windows are handled in CreateDlgWin + VclPtr<DialogWindow> pWin = FindDlgWin( doc, aLibName, aDlgName ); + if ( !pWin ) + pWin = CreateDlgWin( doc, aLibName, aDlgName ); if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aDlgName && pLibInfoItem->GetCurrentType() == TYPE_DIALOG ) { - // this find only looks for non-suspended windows; - // suspended windows are handled in CreateDlgWin - VclPtr<DialogWindow> pWin = FindDlgWin( doc, aLibName, aDlgName ); - if ( !pWin ) - pWin = CreateDlgWin( doc, aLibName, aDlgName ); - pNextActiveWindow = pWin; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits