Commit 32c45360 authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed unset currentDir from load dialog

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11162 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 985b8f89
...@@ -87,7 +87,7 @@ LoadWidget::LoadWidget(std::vector<fileTypes>& _supportedTypes , QWidget *parent ...@@ -87,7 +87,7 @@ LoadWidget::LoadWidget(std::vector<fileTypes>& _supportedTypes , QWidget *parent
setDirectory( OpenFlipperSettings().value("Core/CurrentDir").toString() ); setDirectory( OpenFlipperSettings().value("Core/CurrentDir").toString() );
} }
/// Desctructor /// Destructor
LoadWidget::~LoadWidget() LoadWidget::~LoadWidget()
{ {
...@@ -332,6 +332,9 @@ int LoadWidget::showLoad(){ ...@@ -332,6 +332,9 @@ int LoadWidget::showLoad(){
setFileMode(QFileDialog::ExistingFiles); setFileMode(QFileDialog::ExistingFiles);
// Set directory to last Directory used for Opening Files
setDirectory(OpenFlipperSettings().value("Core/CurrentDir").toString() );
slotSetLoadFilters(); slotSetLoadFilters();
return this->exec(); return this->exec();
......
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