Issue #2431: After coloring a selection and exporting to PDF, file...
... only shows the color (and nothing else) when "Convert bitmaps to vector graphics where possible" was set. This is because gimp_drawable_histogram() only checks selected pixels. So let's make sure we work on a duplicate of the image so that we can safely remove the selection before processing the export.
Showing with 11 additions and 10 deletions