Remove double message about lack of access rights
When trying to open a file for which there are no access rights, the error message is shown twice
STEPS TO REPRODUCE:
- sudo touch testfile
- sudo chmod 700 testfile
- Run example (or kate) without sudo, and try open testfile ./example testfile
- Close error message
OBSERVED RESULT Error message reopened
EXPECTED RESULT Error message not shown again