summaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/source/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--heimdall-frontend/source/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/heimdall-frontend/source/mainwindow.cpp b/heimdall-frontend/source/mainwindow.cpp
index 255c0b5..d28cdc7 100644
--- a/heimdall-frontend/source/mainwindow.cpp
+++ b/heimdall-frontend/source/mainwindow.cpp
@@ -553,7 +553,6 @@ void MainWindow::LoadFirmwarePackage(void)
}
workingPackageData.GetFilePaths().append(loadedPackageData.GetFilePaths());
- workingPackageData.SetPackagePath(loadedPackageData.GetPackagePath());
QString pitFilename = loadedPackageData.GetFirmwareInfo()->GetPitFilename();
@@ -581,7 +580,8 @@ void MainWindow::LoadFirmwarePackage(void)
workingPackageData.GetFirmwareInfo()->SetRepartition(loadedPackageData.GetFirmwareInfo()->GetRepartition());
workingPackageData.GetFirmwareInfo()->SetNoReboot(loadedPackageData.GetFirmwareInfo()->GetNoReboot());
- loadedPackageData.Clear(false);
+ workingPackageData.GetOwnedDirectories().append(loadedPackageData.GetOwnedDirectories());
+ loadedPackageData.GetOwnedDirectories().clear();
UpdateUnusedPartitionIds();
UpdatePackageUserInterface();