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

(-)sc/source/ui/view/tabcont.cxx (+5 lines)
Lines 173-178 Link Here
173
    // mouse button down and up on same page?
173
    // mouse button down and up on same page?
174
    if( nMouseClickPageId != GetPageId( aPos ) )
174
    if( nMouseClickPageId != GetPageId( aPos ) )
175
        nMouseClickPageId = TAB_PAGE_NOTFOUND;
175
        nMouseClickPageId = TAB_PAGE_NOTFOUND;
176
    else if ( rMEvt.GetClicks() == 2 && rMEvt.IsLeft() )
177
    {
178
        SfxDispatcher* pDispatcher = pViewData->GetViewShell()->GetViewFrame()->GetDispatcher();
179
        pDispatcher->Execute( FID_TAB_MENU_RENAME, SFX_CALLMODE_SYNCHRON | SFX_CALLMODE_RECORD );
180
    }
176
181
177
    if( nMouseClickPageId == 0 )
182
    if( nMouseClickPageId == 0 )
178
    {
183
    {

Return to issue 4517