Fixed terminal change being ignored

Pull Request for fix mentioned in https://github.com/lxde/pcmanfm-qt/issues/31