diff --git a/src/Gui/Control.cpp b/src/Gui/Control.cpp index 4a8bebfb1122..f5ca988cca06 100644 --- a/src/Gui/Control.cpp +++ b/src/Gui/Control.cpp @@ -142,7 +142,7 @@ QTabWidget* ControlSingleton::tabPanel() const (Gui::DockWindowManager::instance()->getDockWindow("Combo View")); // should return the pointer to combo view if (pcCombiView) - pcCombiView->getTabPanel(); + return pcCombiView->getTabPanel(); return 0; }