diff --git a/src/Gui/SplitView3DInventor.cpp b/src/Gui/SplitView3DInventor.cpp index 7f661622ae..59169e0cd6 100644 --- a/src/Gui/SplitView3DInventor.cpp +++ b/src/Gui/SplitView3DInventor.cpp @@ -208,7 +208,10 @@ bool AbstractSplitView::onMsg(const char* pMsg, const char**) bool AbstractSplitView::onHasMsg(const char* pMsg) const { - if (strcmp("ViewFit",pMsg) == 0) { + if (strcmp("CanPan",pMsg) == 0) { + return true; + } + else if (strcmp("ViewFit",pMsg) == 0) { return true; } else if (strcmp("ViewBottom",pMsg) == 0) { diff --git a/src/Gui/View3DInventor.cpp b/src/Gui/View3DInventor.cpp index 04bd6c4c91..b97de87b90 100644 --- a/src/Gui/View3DInventor.cpp +++ b/src/Gui/View3DInventor.cpp @@ -440,7 +440,10 @@ bool View3DInventor::onMsg(const char* pMsg, const char** ppReturn) bool View3DInventor::onHasMsg(const char* pMsg) const { - if (strcmp("Save",pMsg) == 0) { + if (strcmp("CanPan", pMsg) == 0) { + return true; + } + else if (strcmp("Save",pMsg) == 0) { return true; } else if (strcmp("SaveAs",pMsg) == 0) { diff --git a/src/Mod/TechDraw/Gui/MDIViewPage.cpp b/src/Mod/TechDraw/Gui/MDIViewPage.cpp index f035ef580f..643062ca2f 100644 --- a/src/Mod/TechDraw/Gui/MDIViewPage.cpp +++ b/src/Mod/TechDraw/Gui/MDIViewPage.cpp @@ -230,6 +230,9 @@ bool MDIViewPage::onHasMsg(const char* pMsg) const if (strcmp("ViewFit", pMsg) == 0) { return true; } + else if (strcmp("CanPan",pMsg) == 0) { + return true; + } else if (strcmp("Redo", pMsg) == 0 && getAppDocument()->getAvailableRedos() > 0) { return true; }