diff --git a/src/translations/Dyt_zh_CN.ts b/src/translations/Dyt_zh_CN.ts index 4189cdde..59f479bf 100644 --- a/src/translations/Dyt_zh_CN.ts +++ b/src/translations/Dyt_zh_CN.ts @@ -2000,32 +2000,32 @@ - + Wave文件 - + Report文件 - + RD文件 - + Matlab文件 - + Lamp文件 - + Run Simu @@ -2716,31 +2716,31 @@ - - + + Curve[%1] - - + + Surface[%1] - - + + Table[%1] - - + + Light[%1] - + Polar[%1] @@ -2816,48 +2816,48 @@ QtConeWaveComponentManager - - + + ConeWaveComponent - + Height - + Radius - + waveCount - + waveSpeed - + baseColor - + waveColor - + ringBrightAlpha - + ringDarkAlpha @@ -2963,28 +2963,28 @@ QtDashedLineComponentManager - - + + DashedLineComponent - + Start - + End - + Radius - + Color @@ -3000,17 +3000,17 @@ QtEntityPropertyManager - + Name - + Visible - + Transform @@ -3092,13 +3092,13 @@ QtMeshComponetManager - - + + MeshComponent - + Mesh @@ -3147,13 +3147,13 @@ QtPathComponentManager - - + + PathComponent - + Path @@ -3403,97 +3403,72 @@ QtWorkspacePropertyManager - + Name - + Description - + Timestep - - SimMatlab - - - - - MatlabParam - - - - - WavePath - - - - - ReportPath - - - - - RDPath - - - - + CommondPath - + Count - + Curve[%1] - + Surface[%1] - + Table[%1] - + Light[%1] - + Curves - + Surfaces - + Tables - + Lights - + Polars diff --git a/src/ui/ModelBrowser/ModelTreeWidget.cpp b/src/ui/ModelBrowser/ModelTreeWidget.cpp index 46ad3ba8..3582f4ca 100644 --- a/src/ui/ModelBrowser/ModelTreeWidget.cpp +++ b/src/ui/ModelBrowser/ModelTreeWidget.cpp @@ -102,6 +102,7 @@ void ModelTreeWidget::contextMenuEvent(QContextMenuEvent* event) { Entity* entity = value.value(); PopupEntityMenu(event, entity); } else { + return; QMenu menu(this); QAction* addEntiy = new QAction(tr("Add boke Entity"), this);