From 55528ef76f7afd4aa43408858d0437d4415cbd73 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Tue, 14 Dec 2021 09:59:52 +0100 Subject: [PATCH] #3475 ButtonSelectFilesDirectory box wx --- packages/wx/src/bbwxButtonSelectFilesDirectory.cxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/wx/src/bbwxButtonSelectFilesDirectory.cxx b/packages/wx/src/bbwxButtonSelectFilesDirectory.cxx index ad26a75..87e3acf 100644 --- a/packages/wx/src/bbwxButtonSelectFilesDirectory.cxx +++ b/packages/wx/src/bbwxButtonSelectFilesDirectory.cxx @@ -121,26 +121,17 @@ void ButtonSelectFilesDirectoryWidget:: SelectDirectory() mBox->bbSetOutputOut( bbtk::wx2std (FD->GetPath()) ); mBox->bbSignalOutputModification(std::string("Out")); mBox->bbSetInputDefaultDir( bbtk::wx2std (FD->GetPath()) ); - } else { - mBox->bbSetOutputOut(""); - mBox->bbSignalOutputModification(std::string("Out")); - mBox->bbSetInputDefaultDir(""); - } - + } // if OK } void ButtonSelectFilesDirectoryWidget::OnButton( wxEvent& ) { - printf("EED ButtonSelectFilesDirectoryWidget::OnButton Start\n"); if (mBox->bbGetInputType()==0) { SelectFiles(); } else if (mBox->bbGetInputType()==1){ SelectDirectory(); } - - printf("EED ButtonSelectFilesDirectoryWidget::OnButton End\n"); - } //-------------------------------------------------------------------------- -- 2.45.1