The sample directory does not exist - dialog - more changes...



  • OK so I modified the source as per this thread:

    https://forum.hise.audio/topic/2006/the-sample-directory-does-not-exist-how-can-i-change-this-text/4

    now I have this:

    			if (!monolithDirectories[1].isDirectory())
    			{
    				sampler->getMainController()->sendOverlayMessage(DeactiveOverlay::State::CustomErrorMessage,
    					"Please restart the plugin");
    
    				FRONTEND_ONLY(sampler->deleteAllSounds());
    
    				return;
    			}
    

    Which is nice because it reminds the end user to restart the plugin to get any sounds, but not so nice in it still shows the "Ignore" button below the message, any clue how I could change the text on the button to a simple "OK" ??



  • @Lindon aaaand..in classic mode I think I found it as soon as I posted this:

    FrontendBar.cpp (line 57)

    	addAndMakeVisible(installSampleButton = new TextButton("Install Samples"));
    
    	addAndMakeVisible(ignoreButton = new TextButton("Ignore"));
    
    	resolveLicenseButton->setLookAndFeel(alaf);
    

Log in to reply
 

11
Online

1.2k
Users

3.9k
Topics

34.5k
Posts