]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Thu, 10 Mar 2016 00:24:44 +0000 (19:24 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Thu, 10 Mar 2016 00:24:44 +0000 (19:24 -0500)
appli/PipelineEditor/PipelineEditor.cxx
data/save_dicomseries_as_singlefile_image.wxml
lib/cpExtensions/QT/SimpleMPRWidget.cxx

index fcd3f421ec5727b6f9ae1e9c8af045031a554c20..5fe9bdf70014a9fb8eb6b7e2ab693cf5a73c022d 100644 (file)
@@ -113,8 +113,7 @@ PipelineEditor::
 {
   if( this->m_Workspace != NULL )
     delete this->m_Workspace;
-  // TODO: this causes a segfault (?)
-  // delete this->m_UI;
+  delete this->m_UI;
 }
 
 // -------------------------------------------------------------------------
index fb3b30d1858fa1be3b3c8c8ca2a97ffbf3c6c3c0..b95d70cfa8f24026ef1d6fb8747096e9bd07edba 100644 (file)
@@ -3,7 +3,7 @@
         <parameter name="FileNames" value="" type="OpenFileNameList"/>
     </filter>
     <filter category="IO" class="ImageWriter" name="ImageWriter" ViewX="26" ViewY="-7">
-        <parameter name="FileName" value="" type="OpenFileName"/>
+        <parameter name="FileName" value="" type="SaveFileName"/>
     </filter>
     <connection>
         <origin filter="DicomSeriesReader" name="Output"/>
index fa0214c47c9d304a98ce52a1bc9342341182e431..62b92961f849085c0d37804565a73641544f6d4b 100644 (file)
@@ -58,8 +58,7 @@ SimpleMPRWidget( QWidget* parent )
 cpExtensions::QT::SimpleMPRWidget::
 ~SimpleMPRWidget( )
 {
-  // TODO: this causes a segfault (?)
-  // delete this->m_UI;
+  delete this->m_UI;
 }
 
 // -------------------------------------------------------------------------