summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/macrodlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/macrodlg.cxx')
-rw-r--r--basctl/source/basicide/macrodlg.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/basctl/source/basicide/macrodlg.cxx b/basctl/source/basicide/macrodlg.cxx
index c3619246ef45..ec7ed3a5c414 100644
--- a/basctl/source/basicide/macrodlg.cxx
+++ b/basctl/source/basicide/macrodlg.cxx
@@ -242,16 +242,9 @@ short MacroChooser::Execute()
if ( StarBASIC::IsRunning() )
m_pCloseButton->GrabFocus();
- vcl::Window* pPrevDlgParent = Application::GetDefDialogParent();
- Application::SetDefDialogParent( this );
- short nRet = ModalDialog::Execute();
- // #57314# If the BasicIDE has been activated, don't reset the DefModalDialogParent to the inactive document.
- if ( Application::GetDefDialogParent() == this )
- Application::SetDefDialogParent( pPrevDlgParent );
- return nRet;
+ return ModalDialog::Execute();
}
-
void MacroChooser::EnableButton( Button& rButton, bool bEnable )
{
if ( bEnable )