mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
This commit is contained in:
parent
5eea51a781
commit
e76fe601bf
3 changed files with 54 additions and 6 deletions
|
|
@ -292,9 +292,7 @@ int JUCEApplication::main (int argc, char* argv[],
|
|||
void JUCEApplication::actionListenerCallback (const String& message)
|
||||
{
|
||||
if (message.startsWith (getApplicationName() + "/"))
|
||||
{
|
||||
anotherInstanceStarted (message.fromFirstOccurrenceOf (T("/"), false, false));
|
||||
}
|
||||
anotherInstanceStarted (message.substring (getApplicationName().length() + 1));
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue