Adds null pointer checks as well as prevents the Save/Copy context menu from appearing at all if no image is shown.
Fixes issue #4140
Adds null pointer checks as well as prevents the Save/Copy context
menu from appearing at all if no image is shown.
Fixes issue #4140
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/9d558e1c18a29bbccec802829f9b8b65fb4101a1 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.