Use layers as master bug

If I drag a layer and drop it on the master I get the message: “Do you really what to use this layer as master?”

No matter what I click (Cancel or OK) the layer is swapped with the master either way.

2.4.1 (983) and 2.4.2 (1045)

Thanks for the report. I fixed it.