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_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8c1bfe676faa32d9c1b5e33fb96a6eda560d0c0f;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); }