Update context menu
- Page context menu was left over from Drawing module. Now updated with appropriate actions.
This commit is contained in:
committed by
Yorik van Havre
parent
6e05b0f4ca
commit
22ff1e2cea
@@ -304,11 +304,11 @@ MDIViewPage* ViewProviderPage::getMDIViewPage()
|
||||
|
||||
void ViewProviderPage::onChanged(const App::Property *prop)
|
||||
{
|
||||
if (prop == &(getDrawPage()->Template)) {
|
||||
if(m_mdiView) {
|
||||
m_mdiView->updateTemplate();
|
||||
}
|
||||
}
|
||||
// if (prop == &(getDrawPage()->Template)) {
|
||||
// if(m_mdiView) {
|
||||
// m_mdiView->updateTemplate();
|
||||
// }
|
||||
// }
|
||||
|
||||
Gui::ViewProviderDocumentObject::onChanged(prop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user