summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-21 09:37:12 +0000
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2021-01-22 10:13:21 +0100
commit1c003228bdb3353539fea812eebf60cda9e5aec8 (patch)
tree4baa32941925146ba538f9d28afd6afd2a39655e /basctl
parent88476a6f89f2908fc8083dbbb53391b75192c783 (diff)
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/+/109742 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basidesh.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 3cf2ed621457..502084b0bbfc 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;
}
}