Fix map image export regression

This commit is contained in:
GriffinR 2025-11-16 20:25:10 -05:00
parent 79e935f8ac
commit 948aaeb2bf

View File

@ -69,9 +69,7 @@ QPixmap MapConnection::render() const {
}
QImage MapConnection::renderImage() const {
render();
auto map = targetMap();
return (map && map->layout()) ? map->layout()->image : QImage();
return render().toImage();
}
// Get the position of the target map relative to its parent map.