Skip to content

Commit

Permalink
Fix restore and save functionality
Browse files Browse the repository at this point in the history
Wrongly saved the the selected directory for preset modification which
lead to an incomplete restore of the user settings.
  • Loading branch information
johanneszab committed May 1, 2015
1 parent c42713c commit f21becf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podhd_qt/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@ MainWindow::MainWindow(QWidget *parent) :
QSettings settings;
settings.beginGroup(kSettingsGroup);

QString path = settings.value("last_save_dir", QDir::homePath()).toString();;
QString path = settings.value("presetDirectory", QDir::homePath()).toString();;
presetDirectory.setPath(path);
ui->desktopLeDirectoryChoser->setText(path);
ui->fiveLeDirectoryChoser->setText(path);
Expand Down

0 comments on commit f21becf

Please sign in to comment.