Log Dialog: Fix could not show patch if changed files in parent 2 is selected

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
Fixed issue #2127: After delete last tag in Browse references, tree of refs disappeared

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>