diff options
author | Rainer Keller <rainer.keller@theqtcompany.com> | 2015-02-09 10:20:19 +0100 |
---|---|---|
committer | Rainer Keller <rainer.keller@theqtcompany.com> | 2015-02-09 15:53:47 +0200 |
commit | a46ceb8270695754304158e9f6b3de8c5043b2d9 (patch) | |
tree | 2021235af7bacbd42f6149a2a31d319dc5ff97d9 /src | |
parent | 954b20baff7534450450318b78d93344524f3a43 (diff) |
b2qt-flashing-wizard: Disable next page when no platforms found
Change-Id: I30d0eb65dc45e388484af65b09305d12d3d02ab6
Task-number: QTEE-906
Reviewed-by: Samuli Piippo <samuli.piippo@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/b2qt-flashing-wizard/platform_page.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/b2qt-flashing-wizard/platform_page.cpp b/src/b2qt-flashing-wizard/platform_page.cpp index 609a5aa..a70178d 100644 --- a/src/b2qt-flashing-wizard/platform_page.cpp +++ b/src/b2qt-flashing-wizard/platform_page.cpp @@ -66,6 +66,8 @@ PlatformPage::~PlatformPage() bool PlatformPage::isComplete() const { + if (mButtons.isEmpty() || buttonData().name.isEmpty()) + return false; return true; } |