Project-Platypus / Platypus

A Free and Open Source Python Library for Multiobjective Optimization
GNU General Public License v3.0
553 stars 152 forks source link

---- and DISABLED directives are ignored for SUBMENU #179

Closed arrogantrabbit closed 2 years ago

arrogantrabbit commented 2 years ago

To reproduce, modify the script in the StatusMenuDemo to look like so:

#!/usr/bin/perl
print "DISABLED|This Works\n";
print "SUBMENU|Submenu|DISABLED|This does not|----|Item 3\n";

The resulting submenu ignores ---- and DISABLED flags:

image

Platypus Version 5.3 (1113)

It appears that when building ScriptExec from current top of tree it behaves correctly.

dhadka commented 2 years ago

@arrogantrabbit I think this is the wrong "Platypus" project 😄 I think you meant https://github.com/sveinbjornt/Platypus? Closing this issue.

arrogantrabbit commented 2 years ago

Doh! How embarrassing! Sorry about that!