From: asl Date: Mon, 16 Nov 2015 12:46:56 +0000 (+0300) Subject: correction for the name of help file X-Git-Tag: v1.5~38^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=da19dd6d6e83dc93403c87beafbade09650739d5;p=modules%2Fhydro.git correction for the name of help file --- diff --git a/src/HYDROGUI/HYDROGUI_Operation.cxx b/src/HYDROGUI/HYDROGUI_Operation.cxx index e40ff69d..916a5a68 100644 --- a/src/HYDROGUI/HYDROGUI_Operation.cxx +++ b/src/HYDROGUI/HYDROGUI_Operation.cxx @@ -449,8 +449,12 @@ QString HYDROGUI_Operation::getHelpComponent() const QString HYDROGUI_Operation::getHelpFile() const { - QString aFileName = ((myName.isEmpty())? operationName() : myName); - return aFileName.replace(QRegExp("\\s"), "_").append(".html"); + QString aFileName = ((myName.isEmpty())? operationName() : myName); + aFileName = aFileName.toLower(); + aFileName = aFileName.replace(QRegExp("\\s"), "_").append(".html"); + aFileName.remove( "create_" ); + aFileName.remove( "edit_" ); + return aFileName; } QString HYDROGUI_Operation::getHelpContext() const