aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/haskell/share
diff options
context:
space:
mode:
authorAlessandro Portale <[email protected]>2024-10-19 02:38:17 +0200
committerAlessandro Portale <[email protected]>2024-10-30 12:37:45 +0000
commit7b4bc51dcaf13c661f7029cc34471c735541c6f5 (patch)
tree611869d7b1ce8d79c918fc31c1054b94e840c8fa /src/plugins/haskell/share
parent3ff0d5c8eb4d9c1b574cade4cf5d4505001ab40f (diff)
Wizards: Use is[Any]PluginRunning
This replaces all occurrences of value('Plugins').indexOf('MyPlugin') >= 0 with isPluginRunning('myplugin') And combines OR'ed sequences with AnyPluginRunning. Tests for (Boot2Qt || Boot2QtQdb) are reduced to just boot2qt, since the other one is history. Change-Id: I21206116e2263579349c77ba3914f8ebfe1f089e Reviewed-by: Eike Ziller <[email protected]>
Diffstat (limited to 'src/plugins/haskell/share')
-rw-r--r--src/plugins/haskell/share/wizards/module/wizard.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/haskell/share/wizards/module/wizard.json b/src/plugins/haskell/share/wizards/module/wizard.json
index 37f6ebf975b..48860a29efc 100644
--- a/src/plugins/haskell/share/wizards/module/wizard.json
+++ b/src/plugins/haskell/share/wizards/module/wizard.json
@@ -7,7 +7,7 @@
"trDisplayName": "Module",
"trDisplayCategory": "Haskell",
"iconText": "hs",
- "enabled": "%{JS: value('Plugins').indexOf('Haskell') >= 0}",
+ "enabled": "%{JS: isPluginRunning('haskell')}",
"options": [
{ "key": "FileName", "value": "%{JS: Util.fileName(value('TargetPath'), 'hs')}" },