[gui] temp fix to reset m_guiState with the right file item list
Merge pull request #5854 from xhaggi/fix-gui-viewstate-items-reference-temp

[gui] temp fix to reset m_guiState with the right file item list