Original drawing
Previous versions of Inkscape would preserve the stroke settings but remove the fill when applied.
Now, Inkscape will automatically preserve the fill by creating a linked path underneath.
LPE options for the linked fill