Fix RCs getting removed again
Fix RCs getting removed again

Fix non-CustomExecutable RunConfigurations getting removed directly.

Also keep unconfigured RCs around if they are the active RC. This stops
CustomExecutableRCs from disappearing before the user had a chance to
configure them.

Task-number: QTCREATORBUG-7562
Change-Id: Iaa0c8b9f55425857ad326200071abaea2d390c99
Reviewed-by: Daniel Teske <d8a411aec9a206efedb4d45b75fe8d13f1e2b628@nokia.com>

malikcjm/qtcreator,colede/qtcreator,duythanhphan/qt-creator,danimo/qt-creator,farseerri/git_code,kuba1/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,colede/qtcreator,darksylinc/qt-creator,maui-packages/qt-creator,richardmg/qtcreator,xianian/qt-creator,KDE/android-qt-creator,malikcjm/qtcreator,Distrotech/qtcreator,richardmg/qtcreator,kuba1/qtcreator,richardmg/qtcreator,xianian/qt-creator,farseerri/git_code,Distrotech/qtcreator,xianian/qt-creator,xianian/qt-creator,malikcjm/qtcreator,omniacreator/qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,danimo/qt-creator,darksylinc/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,richardmg/qtcreator,farseerri/git_code,duythanhphan/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,KDE/android-qt-creator,richardmg/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,farseerri/git_code,omniacreator/qtcreator,Distrotech/qtcreator,danimo/qt-creator,xianian/qt-creator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,KDE/android-qt-creator,xianian/qt-creator,syntheticpp/qt-creator,danimo/qt-creator,danimo/qt-creator,colede/qtcreator,amyvmiwei/qt-creator,darksylinc/qt-creator,darksylinc/qt-creator,malikcjm/qtcreator,omniacreator/qtcreator,martyone/sailfish-qtcreator,darksylinc/qt-creator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,farseerri/git_code,colede/qtcreator,KDE/android-qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,danimo/qt-creator,syntheticpp/qt-creator,syntheticpp/qt-creator,omniacreator/qtcreator,colede/qtcreator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,malikcjm/qtcreator,KDE/android-qt-creator,maui-packages/qt-creator,colede/qtcreator,KDE/android-qt-creator,xianian/qt-creator,maui-packages/qt-creator,maui-packages/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,darksylinc/qt-creator,danimo/qt-creator,duythanhphan/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,KDE/android-qt-creator,farseerri/git_code,syntheticpp/qt-creator,kuba1/qtcreator,richardmg/qtcreator,duythanhphan/qt-creator,martyone/sailfish-qtcreator,darksylinc/qt-creator,kuba1/qtcreator,malikcjm/qtcreator,AltarBeastiful/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,malikcjm/qtcreator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,colede/qtcreator,amyvmiwei/qt-creator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,omniacreator/qtcreator,Distrotech/qtcreator,omniacreator/qtcreator,maui-packages/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,maui-packages/qt-creator,richardmg/qtcreator