Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_InputPanel.cxx
index ceb9f28dff77883ff2a370aa405ecc4e6db02e6c..03831fc4ec7ab069d5a690afa9034b6759cb2f85 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "HYDROGUI_InputPanel.h"
 #include "HYDROGUI_Module.h"
-#include "HYDROGUI_RunBrowser.h"
 
 #include <CAM_Application.h>
 #include <SUIT_Desktop.h>
@@ -96,20 +95,7 @@ void HYDROGUI_InputPanel::onCancel()
 
 void HYDROGUI_InputPanel::onHelp()
 {
-  QString aModuleName = myModule->moduleName();
-
-  QString aPagePath = HYDROGUI_RunBrowser::getPagePath( aModuleName );
-
-  QString aPageName = "";
-  QString aWindowTitle = windowTitle();
-  if ( !aWindowTitle.isEmpty() )
-  {
-    aPageName = QStringList( aWindowTitle.split( " " ) ).join( "_" ).append( ".html" );
-    aPageName.toLower();
-  }
-
-  QString aPage = aPagePath + QDir::separator() + aPageName;
-  HYDROGUI_RunBrowser::showPage( myModule->getApp(), aPage );
+  emit panelHelp();
 }
 
 void HYDROGUI_InputPanel::closeEvent ( QCloseEvent * event )