summaryrefslogtreecommitdiff
path: root/grc/gui/Utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/gui/Utils.py')
-rw-r--r--grc/gui/Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Utils.py b/grc/gui/Utils.py
index 38fde80465..97c648c0a8 100644
--- a/grc/gui/Utils.py
+++ b/grc/gui/Utils.py
@@ -114,7 +114,7 @@ def make_screenshot(flow_graph, file_path, transparent_bg=False):
if not file_path:
return
- x_min, y_min, x_max, y_max = flow_graph.extend
+ x_min, y_min, x_max, y_max = flow_graph.extent
padding = Constants.CANVAS_GRID_SIZE
width = x_max - x_min + 2 * padding
height = y_max - y_min + 2 * padding