BITMAP_BASE: update original when converting to greyscale

Fixes https://gitlab.com/kicad/code/kicad/-/issues/13487
This commit is contained in:
Jon Evans 2023-01-11 21:07:50 -05:00
parent 2654279678
commit 253122dc78
1 changed files with 1 additions and 0 deletions

View File

@ -393,6 +393,7 @@ void BITMAP_BASE::ConvertToGreyscale()
if( m_image ) if( m_image )
{ {
*m_image = m_image->ConvertToGreyscale(); *m_image = m_image->ConvertToGreyscale();
*m_originalImage = m_originalImage->ConvertToGreyscale();
rebuildBitmap(); rebuildBitmap();
} }
} }