summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc L <marcll@vt.edu>2019-10-22 14:09:44 -0400
committerMarcus Müller <marcus@hostalia.de>2019-11-01 15:37:51 +0100
commita1480bd6c980a3b9a10e4ce2a5ff1ba4e1098cc7 (patch)
tree7cd3ac9c52f7b688ec19e87e3c89b3c8175eab6c
parent932121a62e30adb0a5c9d958e71b5756bdbd9f57 (diff)
grc: removed the link to wiki page for the block if its an OOT block
-rw-r--r--grc/gui/PropsDialog.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/grc/gui/PropsDialog.py b/grc/gui/PropsDialog.py
index 7d0226d203..6bf2745a4e 100644
--- a/grc/gui/PropsDialog.py
+++ b/grc/gui/PropsDialog.py
@@ -216,11 +216,12 @@ class PropsDialog(Gtk.Dialog):
buf.delete(buf.get_start_iter(), buf.get_end_iter())
pos = buf.get_end_iter()
- # Add link to wiki page for this block, at the top
- note = "Wiki Page for this Block: "
- prefix = self._config.wiki_block_docs_url_prefix
- suffix = self._block.label.replace(" ", "_")
- buf.insert(pos, note + prefix + suffix + '\n\n')
+ # Add link to wiki page for this block, at the top, as long as it's not an OOT block
+ if self._block.category[0] == "Core":
+ note = "Wiki Page for this Block: "
+ prefix = self._config.wiki_block_docs_url_prefix
+ suffix = self._block.label.replace(" ", "_")
+ buf.insert(pos, note + prefix + suffix + '\n\n')
docstrings = self._block.documentation.copy()
if not docstrings: