diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-28 21:55:23 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-08-15 15:01:58 +0300 |
commit | 55f09f01069cdfbb4b366824916409b66ddc11f5 (patch) | |
tree | 9915484c49d3c639e20875c00dfc68ab8c965c61 /gaspressures.c | |
parent | 342479586d1f34a2b7f3d1d69037cb0d631489fa (diff) | |
download | subsurface-55f09f01069cdfbb4b366824916409b66ddc11f5.tar.gz |
Printing: don't save invalid colors
When QColorDialog is closed with 'Cancel' button, it returns invalid color
that must be discarded. So check if color is valid to prevent replacing
the current color with black.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'gaspressures.c')
0 files changed, 0 insertions, 0 deletions