diff --git a/src/ffiledialog.cpp b/src/ffiledialog.cpp index a6fcaf74..e9c3e6d5 100644 --- a/src/ffiledialog.cpp +++ b/src/ffiledialog.cpp @@ -753,7 +753,7 @@ void FFileDialog::cb_processActivate (FWidget*, data_ptr) while ( iter != end ) { - if ( (*iter).name && input + if ( (*iter).name && ! input.isNull() && std::strcmp((*iter).name, input) == 0 && (*iter).type == DT_DIR ) {