Fix path not being saved on install pkgs

This commit is contained in:
RipleyTom 2020-11-09 10:07:19 +01:00 committed by Ivan
parent b05d12df0e
commit 8a50880613

View File

@ -507,6 +507,8 @@ void main_window::InstallPackages(QStringList file_paths)
}
file_paths.append(paths);
const QFileInfo file_info(file_paths[0]);
m_gui_settings->SetValue(gui::fd_install_pkg, file_info.path());
}
else if (file_paths.count() == 1)
{
@ -533,8 +535,6 @@ void main_window::InstallPackages(QStringList file_paths)
{
gui_log.error("Could not copy rap file: %s", rapname);
}
m_gui_settings->SetValue(gui::fd_install_pkg, file_info.path());
}
// Find remaining package files