summaryrefslogtreecommitdiff
path: root/grc/gui/Actions.py
diff options
context:
space:
mode:
authorJosh Morman <jmorman@perspectalabs.com>2019-08-30 15:26:43 -0400
committerMartin Braun <martin.braun@ettus.com>2019-09-17 14:30:50 -0500
commit44a6f5ddc82233730c9702888c6796874a352f07 (patch)
tree0d5dd53ff823d33821896930a962b0e83d43ade5 /grc/gui/Actions.py
parenta5df144a2c4098b7681b0d83235d343483419dc9 (diff)
grc: option toggle the show id on all blocks
Addresses the issue of losing access to the block id on many/most blocks though there are scenarios where you may need to see them in GRC Added a menu item tied into the grc prefs that will show the block ids Fixes #2780
Diffstat (limited to 'grc/gui/Actions.py')
-rw-r--r--grc/gui/Actions.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py
index 8497565b2e..be157d90b4 100644
--- a/grc/gui/Actions.py
+++ b/grc/gui/Actions.py
@@ -400,6 +400,12 @@ TOGGLE_HIDE_VARIABLES = actions.register("win.hide_variables",
preference_name='hide_variables',
default=False,
)
+TOGGLE_SHOW_BLOCK_IDS = actions.register("win.show_block_ids",
+ label='Show All Block IDs',
+ tooltip='Show all the block IDs',
+ preference_name='show_block_ids',
+ default=False,
+)
TOGGLE_FLOW_GRAPH_VAR_EDITOR = actions.register("win.toggle_variable_editor",
label='Show _Variable Editor',
tooltip='Show the variable editor. Modify variables and imports in this flow graph',