diff --git a/src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp b/src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp index 41785faeffeb0b02db54e5df5bd81e9bc18e82f1..c6b2e97b7766f342fad0841680c3dd8719cc1915 100644 --- a/src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp +++ b/src/plugins/qt4projectmanager/wizards/librarywizarddialog.cpp @@ -244,7 +244,8 @@ void LibraryWizardDialog::slotCurrentIdChanged(int id) if (id == m_filesPageId) setupFilesPage();// Switching to files page: Set up base class accordingly (plugin) else if (id == m_mobilePageId - || m_mobilePage->symbianUid().isEmpty() && currentPage()->isFinalPage()) + || (m_mobilePage->symbianUid().isEmpty() + && currentPage() && currentPage()->isFinalPage())) setupMobilePage(); }