Commit 084a6247 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix remaining remeber-folder bug.

Close #2851
parent bfeb0a58
......@@ -389,10 +389,14 @@ QStringList DialogsProvider::showSimpleOpen( QString help,
ADD_FILTER_ALL( fileTypes );
fileTypes.replace(QString(";*"), QString(" *"));
return QFileDialog::getOpenFileNames( NULL,
QStringList files = QFileDialog::getOpenFileNames( NULL,
help.isEmpty() ? qtr(I_OP_SEL_FILES ) : help,
path.isEmpty() ? p_intf->p_sys->filepath : path,
fileTypes );
if( !files.isEmpty() ) savedirpathFromFile( files.last() );
return files;
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment