From 71b8023f691a173dd9ccd04087b916a62f2594a4 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 11 May 2022 17:19:13 +0300 Subject: [PATCH] bos #29945 Missing module name in About dialog, "Versions" page if module does not implement GUI --- src/CAM/CAM_Application.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2