Fixed issue #2345: The Show Log dialog's View Patch side window is empty when the Working dir changes line is selected and no file is selected

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