Fix opening previously saved 2.1 project grid overlapping. Fixes #2734

pull/1565/head
grossmj 5 years ago
parent d50614aed7
commit 21bed54768

@ -191,6 +191,11 @@ def _convert_2_1_0(topo, topo_path):
"""
topo["revision"] = 9
if "grid_size" in topo:
# drawing_grid_size should be the same size as grid_size
# to avoid overlapping grids
topo["drawing_grid_size"] = topo["grid_size"]
for node in topo.get("topology", {}).get("nodes", []):
if "properties" in node:
if node["node_type"] in ("qemu", "vmware", "virtualbox"):

Loading…
Cancel
Save