From: Eduardo DAVILA Date: Fri, 27 Jun 2014 12:43:04 +0000 (+0200) Subject: 2414 creaImageIO Bug New Normal ImagesChooserDialog Box return the name of the file X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=a828c3a9f7adc30462d077f0ceeef75891b5caa6;p=creaImageIO.git 2414 creaImageIO Bug New Normal ImagesChooserDialog Box return the name of the file --- diff --git a/bbtk/src/bbcreaImageIOImagesChooserDialogBox.xml b/bbtk/src/bbcreaImageIOImagesChooserDialogBox.xml index 454f883..67e768e 100644 --- a/bbtk/src/bbcreaImageIOImagesChooserDialogBox.xml +++ b/bbtk/src/bbcreaImageIOImagesChooserDialogBox.xml @@ -72,6 +72,7 @@ + @@ -84,6 +85,7 @@ dlg.ShowModal(); bbSetOutputDicomInfo( dlg.getDicomInfoImagesSelected() ); if (dlg.getImagesSelected().size()!=0){ + bbSetOutputFileName( std::string( dlg.getInfoImage().mb_str() ) ); if(dlg.getImagesSelected().size() ==1) { bbSetOutputOut( dlg.getImagesSelected()[0] ); @@ -145,6 +147,7 @@ // // } bbSetOutputOut(out); + } else { bbSetOutputOut(first); } // dim