diff options
author | Claudiu Olteanu <olteanu.claudiu@ymail.com> | 2015-03-21 17:10:55 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-03-21 11:20:46 -0700 |
commit | 1982bdb9fc749015631fcff5feaddfefd3606b32 (patch) | |
tree | 44852cb351fb4177391aaf821648dc06c268084c /display.h | |
parent | 90905601c5e5755a74ab2d867f874710db4091c1 (diff) | |
download | subsurface-1982bdb9fc749015631fcff5feaddfefd3606b32.tar.gz |
Implement handler for cancel button of Save As dialog
When an user opened the "Save as" dialog and pressed the
cancel button a null string was returned. Therefore the
file_save_as function returned an error which was lately
shown when the file_save function was called.
Now the function checks if the cancel/exit button was
pressed and returns.
Fixes #844
Reported-by: longjohnsilver
Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display.h')
0 files changed, 0 insertions, 0 deletions