From 36051bc477f005ec469ec5a9334211948a579f26 Mon Sep 17 00:00:00 2001 From: mkr Date: Fri, 26 Jun 2015 15:16:43 +0300 Subject: [PATCH] refs #596: improve polyline popup menu in Object Browser. --- src/HYDROGUI/HYDROGUI_Module.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/HYDROGUI/HYDROGUI_Module.cxx b/src/HYDROGUI/HYDROGUI_Module.cxx index a4177f66..cb44e201 100644 --- a/src/HYDROGUI/HYDROGUI_Module.cxx +++ b/src/HYDROGUI/HYDROGUI_Module.cxx @@ -524,6 +524,7 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient, theMenu->addAction( action( CreateCalculationId ) ); break; case KIND_POLYLINEXY: + theMenu->addAction( action( ImportPolylineId ) ); theMenu->addAction( action( CreatePolylineId ) ); break; case KIND_POLYLINE: @@ -599,6 +600,9 @@ void HYDROGUI_Module::contextMenuPopup( const QString& theClient, { theMenu->addAction( action( EditPolylineId ) ); theMenu->addSeparator(); + theMenu->addAction( action( SplitPolylinesId ) ); + theMenu->addAction( action( MergePolylinesId ) ); + theMenu->addSeparator(); } else if( anIsPolyline3D ) { -- 2.39.2