Call refresh before checking the splitter sizes.
Call refresh before checking the splitter sizes.

If we don't do this, we miss the "current" size when an output pane
has just been shown (it comes out as 0) and we resize it to the
minimum size.

Task-number: QTCREATORBUG-8877
Change-Id: I8b1cc19d116dde6edcf8770bb36d1598dfdce195
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>

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