]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
bos #29945 Missing module name in About dialog, "Versions" page if module does not... V9_9_BR V9_9_0 V9_9_0rc1 V9_9_0rc2
authorvsr <vsr@opencascade.com>
Wed, 11 May 2022 14:19:13 +0000 (17:19 +0300)
committervsr <vsr@opencascade.com>
Wed, 11 May 2022 14:19:13 +0000 (17:19 +0300)
src/CAM/CAM_Application.cxx

index 5d983c304b4d242961b12e121ac82518319b8de1..46d47ef2b9c25222a3a8ee115a0fc18f90420287 100644 (file)
@@ -912,7 +912,7 @@ CAM_Application::ModuleShortInfoList CAM_Application::getVersionInfo()
 
   for(int i = 0; i < myInfoList.size(); i++) {
     ModuleShortInfo infoItem;
-    infoItem.name = myInfoList.at(i).title;
+    infoItem.name = myInfoList.at(i).title.isEmpty() ? myInfoList.at(i).name : myInfoList.at(i).title;
     infoItem.version = myInfoList.at(i).version;
     info.append(infoItem);
   }