Fixed issue #2097: Wrong context menu when selecting ignored file in Status dialog

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