When configuring a GPIO on the Pi - the GPIO setting is erased when the .qxw file is opened in Windows.
Instead of deleting the GPIO config, show it as disabled? Or just ignore it? That way when the file is moved back to the Pi, it isn't a lot of work to set the GPIOs back.