summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt5/partitionmanualpage.cc5
-rw-r--r--ui/qt5/partitionmanualpage.hh1
2 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt5/partitionmanualpage.cc b/ui/qt5/partitionmanualpage.cc
index 87a2d0f..467476d 100644
--- a/ui/qt5/partitionmanualpage.cc
+++ b/ui/qt5/partitionmanualpage.cc
@@ -66,4 +66,9 @@ PartitionManualPage::PartitionManualPage(QWidget *parent)
bool PartitionManualPage::isComplete() const {
return partitionEdit->toPlainText().size() > 0;
}
+
+int PartitionManualPage::nextId() const {
+ /* Skip the Mount page for 'mount' keyword in the partitioning commands. */
+ return HorizonWizard::Page_Network;
+}
#endif /* !HAS_INSTALL_ENV */
diff --git a/ui/qt5/partitionmanualpage.hh b/ui/qt5/partitionmanualpage.hh
index c62bf26..43c67c8 100644
--- a/ui/qt5/partitionmanualpage.hh
+++ b/ui/qt5/partitionmanualpage.hh
@@ -24,6 +24,7 @@ public:
PartitionManualPage(QWidget *parent = nullptr);
#ifndef HAS_INSTALL_ENV
bool isComplete() const override;
+ int nextId() const override;
private:
QTextEdit *partitionEdit;
#endif /* !HAS_INSTALL_ENV */