From 58b3aefcfaeaa6cd1e26590408069830dc758d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 4 Oct 2020 15:21:15 +0100 Subject: [PATCH] Add support for importing "PartitionTable" of whole device filesystems. --- src/gui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index d784b7b..c47e867 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -984,7 +984,7 @@ void MainWindow::onImportPartitionTable() return; } - if (tableType != PartitionTable::msdos && tableType != PartitionTable::gpt) { + if (tableType != PartitionTable::msdos && tableType != PartitionTable::gpt && tableType != PartitionTable::none) { KMessageBox::error(this, xi18nc("@info", "Partition table type \"%1\" is not supported for import (line %2).", reType.captured(1), lineNo), xi18nc("@title:window", "Error While Importing Partition Table")); return; }