clear window file path when there's no active view
Differential Revision: https://phabricator.kde.org/D6529