]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/BasicFilters/DoubleFloodImageFilter.cxx
...
[cpPlugins.git] / lib / cpPlugins / Plugins / BasicFilters / DoubleFloodImageFilter.cxx
index c6aef7ebd2db77fa7fbfbe39a9cd7018eb93cdc5..61ff7d2e291b46a22e67b9fed0406d48735b64dc 100644 (file)
@@ -86,7 +86,7 @@ accept( )
       if( nTotalSeeds < 2 )
       {
         double seed[ 3 ];
-        istyle->GetSeed( s, seed );
+        istyle->GetSeedAsPoint( s, seed );
         if( nTotalSeeds == 0 )
           this->m_Filter->GetParameters( )->SetPoint( "Seed0", 3, seed );
         else
@@ -149,15 +149,15 @@ ExecConfigurationDialog( QWidget* parent )
     
   } // rof
   if( !at_least_one )
-    return( Self::DialogResult_Cancel );
-
+    return( false );
+  
   // Create dialog
   this->m_Dialog = new DoubleFloodImageFilter_Dialog( NULL, this );
   this->m_Dialog->show( );
 
-  return( Self::DialogResult_Modal );
+  return( true );
 #else // cpPlugins_Interface_QT4
-  return( Self::DialogResult_Cancel );
+  return( false );
 #endif // cpPlugins_Interface_QT4
 }