summaryrefslogtreecommitdiffstats
path: root/heimdall-frontend
diff options
context:
space:
mode:
authorSteffen Pankratz <kratz00@gmx.de>2016-02-29 19:50:53 +0100
committerSteffen Pankratz <kratz00@gmx.de>2016-02-29 19:50:53 +0100
commit34c4636ee0a8ef9857b23e2257b670d14b2dfb8a (patch)
tree66290929ce2f418bc4140136751719fc01c565c2 /heimdall-frontend
parent- fixed logical error, wrong variable was used in error message (diff)
downloadHeimdall-34c4636ee0a8ef9857b23e2257b670d14b2dfb8a.tar
Heimdall-34c4636ee0a8ef9857b23e2257b670d14b2dfb8a.tar.gz
Heimdall-34c4636ee0a8ef9857b23e2257b670d14b2dfb8a.tar.bz2
Heimdall-34c4636ee0a8ef9857b23e2257b670d14b2dfb8a.tar.lz
Heimdall-34c4636ee0a8ef9857b23e2257b670d14b2dfb8a.tar.xz
Heimdall-34c4636ee0a8ef9857b23e2257b670d14b2dfb8a.tar.zst
Heimdall-34c4636ee0a8ef9857b23e2257b670d14b2dfb8a.zip
Diffstat (limited to 'heimdall-frontend')
-rw-r--r--heimdall-frontend/source/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/heimdall-frontend/source/mainwindow.cpp b/heimdall-frontend/source/mainwindow.cpp
index 8167e5a..f06fb4e 100644
--- a/heimdall-frontend/source/mainwindow.cpp
+++ b/heimdall-frontend/source/mainwindow.cpp
@@ -659,7 +659,7 @@ void MainWindow::SelectPartitionName(int index)
partitionFileGroup->setTitle(title);
- if (!fileInfo.GetFilename().isEmpty())
+ if (pitEntry && !fileInfo.GetFilename().isEmpty())
{
QString partitionFilename = pitEntry->GetFlashFilename();
int lastPeriod = partitionFilename.lastIndexOf(QChar('.'));