diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-02-18 20:57:44 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-02-18 20:57:44 -0600 |
commit | 4517e98110af93568523dad82ceab455b0b08682 (patch) | |
tree | 94248b318d250e1661da3de305e784e66d449767 /ui/qt5 | |
parent | 708395a4e360226d2759b8b35f3cb9c02985b19f (diff) | |
download | horizon-4517e98110af93568523dad82ceab455b0b08682.tar.gz horizon-4517e98110af93568523dad82ceab455b0b08682.tar.bz2 horizon-4517e98110af93568523dad82ceab455b0b08682.tar.xz horizon-4517e98110af93568523dad82ceab455b0b08682.zip |
Qt UI: Skip mount page for manual partitioning in Runtime Env
Diffstat (limited to 'ui/qt5')
-rw-r--r-- | ui/qt5/partitionmanualpage.cc | 5 | ||||
-rw-r--r-- | ui/qt5/partitionmanualpage.hh | 1 |
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 */ |