Prevent changing the context object just because the menu is activated
Prevent changing the context object just because the menu is activated

Fixes slowness when switching menus and allows menu actions to be used
that have a context that depends on the currently focused object.

Reviewed-by: con

hdweiss/qt-creator-visualizer,pcacjr/qt-creator,darksylinc/qt-creator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,maui-packages/qt-creator,danimo/qt-creator,renatofilho/QtCreator,sandsmark/qtcreator-minimap,jonnor/qt-creator,farseerri/git_code,KDE/android-qt-creator,darksylinc/qt-creator,xianian/qt-creator,danimo/qt-creator,richardmg/qtcreator,KDE/android-qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,duythanhphan/qt-creator,richardmg/qtcreator,colede/qtcreator,farseerri/git_code,Distrotech/qtcreator,KDAB/KDAB-Creator,azat/qtcreator,dmik/qt-creator-os2,dmik/qt-creator-os2,xianian/qt-creator,martyone/sailfish-qtcreator,yinyunqiao/qtcreator,darksylinc/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,maui-packages/qt-creator,pcacjr/qt-creator,bakaiadam/collaborative_qt_creator,yinyunqiao/qtcreator,malikcjm/qtcreator,azat/qtcreator,hdweiss/qt-creator-visualizer,azat/qtcreator,richardmg/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,ostash/qt-creator-i18n-uk,bakaiadam/collaborative_qt_creator,enricoros/k-qt-creator-inspector,jonnor/qt-creator,enricoros/k-qt-creator-inspector,syntheticpp/qt-creator,kuba1/qtcreator,ostash/qt-creator-i18n-uk,jonnor/qt-creator,colede/qtcreator,xianian/qt-creator,syntheticpp/qt-creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,dmik/qt-creator-os2,amyvmiwei/qt-creator,ostash/qt-creator-i18n-uk,darksylinc/qt-creator,duythanhphan/qt-creator,colede/qtcreator,AltarBeastiful/qt-creator,colede/qtcreator,azat/qtcreator,malikcjm/qtcreator,KDE/android-qt-creator,KDAB/KDAB-Creator,syntheticpp/qt-creator,KDE/android-qt-creator,kuba1/qtcreator,pcacjr/qt-creator,bakaiadam/collaborative_qt_creator,sandsmark/qtcreator-minimap,azat/qtcreator,pcacjr/qt-creator,malikcjm/qtcreator,Distrotech/qtcreator,dmik/qt-creator-os2,xianian/qt-creator,AltarBeastiful/qt-creator,KDAB/KDAB-Creator,hdweiss/qt-creator-visualizer,KDE/android-qt-creator,danimo/qt-creator,duythanhphan/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,duythanhphan/qt-creator,enricoros/k-qt-creator-inspector,xianian/qt-creator,farseerri/git_code,Distrotech/qtcreator,renatofilho/QtCreator,danimo/qt-creator,AltarBeastiful/qt-creator,jonnor/qt-creator,KDE/android-qt-creator,enricoros/k-qt-creator-inspector,maui-packages/qt-creator,farseerri/git_code,farseerri/git_code,farseerri/git_code,malikcjm/qtcreator,AltarBeastiful/qt-creator,azat/qtcreator,syntheticpp/qt-creator,yinyunqiao/qtcreator,maui-packages/qt-creator,hdweiss/qt-creator-visualizer,maui-packages/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,yinyunqiao/qtcreator,amyvmiwei/qt-creator,sandsmark/qtcreator-minimap,darksylinc/qt-creator,pcacjr/qt-creator,ostash/qt-creator-i18n-uk,colede/qtcreator,darksylinc/qt-creator,renatofilho/QtCreator,richardmg/qtcreator,yinyunqiao/qtcreator,jonnor/qt-creator,sandsmark/qtcreator-minimap,xianian/qt-creator,ostash/qt-creator-i18n-uk,colede/qtcreator,kuba1/qtcreator,xianian/qt-creator,bakaiadam/collaborative_qt_creator,bakaiadam/collaborative_qt_creator,Distrotech/qtcreator,duythanhphan/qt-creator,yinyunqiao/qtcreator,KDAB/KDAB-Creator,syntheticpp/qt-creator,omniacreator/qtcreator,dmik/qt-creator-os2,dmik/qt-creator-os2,martyone/sailfish-qtcreator,kuba1/qtcreator,Distrotech/qtcreator,omniacreator/qtcreator,renatofilho/QtCreator,ostash/qt-creator-i18n-uk,jonnor/qt-creator,syntheticpp/qt-creator,KDAB/KDAB-Creator,danimo/qt-creator,KDAB/KDAB-Creator,duythanhphan/qt-creator,dmik/qt-creator-os2,richardmg/qtcreator,enricoros/k-qt-creator-inspector,amyvmiwei/qt-creator,ostash/qt-creator-i18n-uk,yinyunqiao/qtcreator,xianian/qt-creator,pcacjr/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,richardmg/qtcreator,richardmg/qtcreator,sandsmark/qtcreator-minimap,martyone/sailfish-qtcreator,bakaiadam/collaborative_qt_creator,malikcjm/qtcreator,Distrotech/qtcreator,malikcjm/qtcreator,sandsmark/qtcreator-minimap,martyone/sailfish-qtcreator,kuba1/qtcreator,danimo/qt-creator,renatofilho/QtCreator,amyvmiwei/qt-creator,KDE/android-qt-creator,renatofilho/QtCreator,pcacjr/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,enricoros/k-qt-creator-inspector,amyvmiwei/qt-creator,colede/qtcreator,danimo/qt-creator,omniacreator/qtcreator,hdweiss/qt-creator-visualizer,danimo/qt-creator,kuba1/qtcreator,omniacreator/qtcreator,hdweiss/qt-creator-visualizer,bakaiadam/collaborative_qt_creator,omniacreator/qtcreator,farseerri/git_code,omniacreator/qtcreator,farseerri/git_code,enricoros/k-qt-creator-inspector,KDE/android-qt-creator,martyone/sailfish-qtcreator,syntheticpp/qt-creator