diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-10-25 14:09:14 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-10-25 14:09:14 -0700 |
commit | 8d5e4f6df72b3b3bff601409310678d9c58e78be (patch) | |
tree | 2605a5ef011ccac1374ae9496e1bf02329411879 /grc/gui/ActionHandler.py | |
parent | be6aaf488da426d864a9d1d04b22627a12ff0c4e (diff) | |
parent | 66df227f72156ddbc3f8b9321ff507a4e8a91523 (diff) |
Merge branch 'master' into next
Diffstat (limited to 'grc/gui/ActionHandler.py')
-rw-r--r-- | grc/gui/ActionHandler.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py index ec5ac7c574..f18fcea3e1 100644 --- a/grc/gui/ActionHandler.py +++ b/grc/gui/ActionHandler.py @@ -23,7 +23,7 @@ import gtk import os import subprocess -from . import Dialogs, Preferences, Actions, Executor, Constants, Utils +from . import Dialogs, Preferences, Actions, Executor, Constants from .FileDialogs import (OpenFlowGraphFileDialog, SaveFlowGraphFileDialog, SaveConsoleFileDialog, SaveScreenShotDialog, OpenQSSFileDialog) @@ -688,10 +688,8 @@ class ActionHandler: Actions.FLOW_GRAPH_SAVE.set_sensitive(not page.get_saved()) main.update() try: #set the size of the flow graph area (if changed) - new_size = Utils.scale( - flow_graph.get_option('window_size') or - self.platform.config.default_canvas_size - ) + new_size = (flow_graph.get_option('window_size') or + self.platform.config.default_canvas_size) if flow_graph.get_size() != tuple(new_size): flow_graph.set_size(*new_size) except: pass |