From: vsr Date: Wed, 11 May 2022 14:19:13 +0000 (+0300) Subject: bos #29945 Missing module name in About dialog, "Versions" page if module does not... X-Git-Tag: V9_9_0rc2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3f8a9adba0fa1d135034b5e56f9b6c835d8758c3;p=modules%2Fgui.git bos #29945 Missing module name in About dialog, "Versions" page if module does not implement GUI --- diff --git a/src/CAM/CAM_Application.cxx b/src/CAM/CAM_Application.cxx index 5d983c304..46d47ef2b 100644 --- a/src/CAM/CAM_Application.cxx +++ b/src/CAM/CAM_Application.cxx @@ -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); }