Hello
I have an “Open audio file” menu entry, triggered by a command, and I made it return “false” when the user tries to open an unsupported (or bogus) file.
However, when doing that, I run into the following assertion, in juce_ApplicationCommandTarget.cpp, line 72 (version 2.0.27) :
jassert (success); // hmm - your target should have been able to perform this command. If it can’t
// do it at the moment for some reason, it should clear the ‘isActive’ flag when it
// returns the command’s info.
I understand the logic behind this, but what should I do in this case ?
It seems to me I have missed something important.
Thanks in advance.
Benjamin