Wizards: crash fix
Wizards: crash fix

In the case of cancel currentItem is null.

Change-Id: I337bcf9e1873e9f6525c898c7275ec594f9baeb6
Reviewed-by: Daniel Teske <d8a411aec9a206efedb4d45b75fe8d13f1e2b628@nokia.com>

malikcjm/qtcreator,maui-packages/qt-creator,danimo/qt-creator,jonnor/qt-creator,jonnor/qt-creator,richardmg/qtcreator,xianian/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,richardmg/qtcreator,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,xianian/qt-creator,darksylinc/qt-creator,azat/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,syntheticpp/qt-creator,maui-packages/qt-creator,richardmg/qtcreator,KDE/android-qt-creator,xianian/qt-creator,azat/qtcreator,amyvmiwei/qt-creator,KDE/android-qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,jonnor/qt-creator,danimo/qt-creator,syntheticpp/qt-creator,ostash/qt-creator-i18n-uk,amyvmiwei/qt-creator,kuba1/qtcreator,malikcjm/qtcreator,omniacreator/qtcreator,martyone/sailfish-qtcreator,ostash/qt-creator-i18n-uk,kuba1/qtcreator,azat/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,syntheticpp/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,colede/qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,syntheticpp/qt-creator,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,farseerri/git_code,omniacreator/qtcreator,omniacreator/qtcreator,duythanhphan/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,richardmg/qtcreator,AltarBeastiful/qt-creator,KDE/android-qt-creator,xianian/qt-creator,duythanhphan/qt-creator,duythanhphan/qt-creator,ostash/qt-creator-i18n-uk,darksylinc/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,azat/qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,farseerri/git_code,malikcjm/qtcreator,malikcjm/qtcreator,richardmg/qtcreator,ostash/qt-creator-i18n-uk,jonnor/qt-creator,KDE/android-qt-creator,KDAB/KDAB-Creator,kuba1/qtcreator,AltarBeastiful/qt-creator,KDE/android-qt-creator,kuba1/qtcreator,azat/qtcreator,amyvmiwei/qt-creator,kuba1/qtcreator,danimo/qt-creator,kuba1/qtcreator,colede/qtcreator,azat/qtcreator,danimo/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,malikcjm/qtcreator,darksylinc/qt-creator,danimo/qt-creator,duythanhphan/qt-creator,syntheticpp/qt-creator,farseerri/git_code,kuba1/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,KDE/android-qt-creator,malikcjm/qtcreator,maui-packages/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,KDAB/KDAB-Creator,maui-packages/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,farseerri/git_code,syntheticpp/qt-creator,duythanhphan/qt-creator,jonnor/qt-creator,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,darksylinc/qt-creator,farseerri/git_code,martyone/sailfish-qtcreator,maui-packages/qt-creator,colede/qtcreator,Distrotech/qtcreator,amyvmiwei/qt-creator,darksylinc/qt-creator,jonnor/qt-creator,duythanhphan/qt-creator,Distrotech/qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,Distrotech/qtcreator,farseerri/git_code,KDE/android-qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,KDAB/KDAB-Creator,richardmg/qtcreator,martyone/sailfish-qtcreator,omniacreator/qtcreator,malikcjm/qtcreator,xianian/qt-creator,omniacreator/qtcreator