summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-07-28 21:55:23 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-08-15 15:01:58 +0300
commit55f09f01069cdfbb4b366824916409b66ddc11f5 (patch)
tree9915484c49d3c639e20875c00dfc68ab8c965c61 /planner.c
parent342479586d1f34a2b7f3d1d69037cb0d631489fa (diff)
downloadsubsurface-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 'planner.c')
0 files changed, 0 insertions, 0 deletions