Properly sync DirTreeView and TreeView content without loosing current…

Authored by chehrlic on Aug 8 2017, 3:44 PM.

Description

Properly sync DirTreeView and TreeView content without loosing current selection. This should hopefully fix BUG: 372423

Details