#i112791# add missing update for SID_INSERTPAGE slot on slide change
This commit is contained in:
parent
976f6be2e6
commit
78ce81b376
1 changed files with 11 additions and 0 deletions
|
@ -614,6 +614,17 @@ void SlotManager::GetMenuState ( SfxItemSet& rSet)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
PageKind ePageKind = mrSlideSorter.GetModel().GetPageType();
|
||||
if( (eEditMode == EM_MASTERPAGE) && (ePageKind != PK_HANDOUT ) )
|
||||
{
|
||||
rSet.DisableItem(SID_ASSIGN_LAYOUT);
|
||||
}
|
||||
|
||||
if( (eEditMode == EM_MASTERPAGE) || (ePageKind==PK_NOTES) )
|
||||
{
|
||||
rSet.DisableItem(SID_INSERTPAGE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue