diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/iderdll.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx index 45761d1bfa55..ee26e82e479b 100644 --- a/basctl/source/basicide/iderdll.cxx +++ b/basctl/source/basicide/iderdll.cxx @@ -108,7 +108,7 @@ namespace BasicIDEGlobals void ShellCreated(BasicIDEShell* pShell) { BasicIDEDLL *pIDEGlobals = theBasicIDEDLLInstance::get().get(); - if (pIDEGlobals && pIDEGlobals->GetShell() == pShell) + if (pIDEGlobals && pIDEGlobals->GetShell() == NULL) pIDEGlobals->SetShell(pShell); } |