Salome HOME
Issue #1368: Creation of a Qt panel. feature name correction
authornds <nds@opencascade.com>
Wed, 30 Mar 2016 11:42:40 +0000 (14:42 +0300)
committernds <nds@opencascade.com>
Wed, 30 Mar 2016 11:42:40 +0000 (14:42 +0300)
src/SamplePanelPlugin/SamplePanelPlugin_Feature.h
src/SamplePanelPlugin/plugin-SamplePanel.xml

index 6c4db0051a587595a0baa1269a9ae3e90417db25..3353b906dae84153eb8ffcf84d99616e0379be61 100755 (executable)
@@ -21,7 +21,7 @@ class SamplePanelPlugin_Feature : public ModelAPI_Feature
   /// SketchShape feature kind
   inline static const std::string& ID()
   {
-    static const std::string MY_SAMPLE_PANEL_FEATURE_ID("SamplePanelFeature");
+    static const std::string MY_SAMPLE_PANEL_FEATURE_ID("QtPanelFeature");
     return MY_SAMPLE_PANEL_FEATURE_ID;
   }
 
index 9f017f59afd1d68976bc2703c2d5a7cfe94fc0cd..f58e081494e27948309ee94c1dcc540ac0d73eb8 100755 (executable)
@@ -3,7 +3,7 @@
 <plugin>
   <workbench id="Sample">
     <group id="Features">
-      <feature id="QtPanelFeature" property_panel_id="SamplePanel" title="Qt Panel Feature"/>
+      <feature id="QtPanelFeature" property_panel_id="QtPanel" title="Qt Panel Feature"/>
     </group>
   </workbench>
 </plugin>