View | Details | Raw Unified | Return to issue 21548
Collapse All | Expand All

(-)basctl/source/basicide/baside2b.cxx (-1 / +9 lines)
Lines 383-389 Link Here
383
			 ( rCEvt.GetCommand() == COMMAND_AUTOSCROLL ) )
383
			 ( rCEvt.GetCommand() == COMMAND_AUTOSCROLL ) )
384
		{
384
		{
385
			HandleScrollCommand( rCEvt, pModulWindow->GetHScrollBar(), &pModulWindow->GetEditVScrollBar() );
385
			HandleScrollCommand( rCEvt, pModulWindow->GetHScrollBar(), &pModulWindow->GetEditVScrollBar() );
386
		}
386
		} else if ( rCEvt.GetCommand() == COMMAND_CONTEXTMENU ) {
387
            BasicIDEShell* pIDEShell = IDE_DLL()->GetShell();
388
            SfxViewFrame* pViewFrame = pIDEShell ? pIDEShell->GetViewFrame() : NULL;
389
            SfxDispatcher* pDispatcher = pViewFrame ? pViewFrame->GetDispatcher() : NULL;
390
            if ( pDispatcher )
391
            {
392
                pDispatcher->ExecutePopup();
393
            }
394
        }
387
	}
395
	}
388
}
396
}
389
397

Return to issue 21548