The sample directory does not exist - dialog - more changes...
-
OK so I modified the source as per this thread:
"The sample directory does not exist" - how can I change this text?
Ok, to hide the popup, you need to comment out line 130 in FrontentBar.cpp file (PresetHandler::showMessageWindow("Sample Folder changed). The "The sample di...
Forum (forum.hise.audio)
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);
-
@Lindon bumping this in the hope that there is a better long term fix for this recurrent problem....
-
This post is deleted! -
@Lindon said in The sample directory does not exist - dialog - more changes...:
@Lindon bumping this in the hope that there is a better long term fix for this recurrent problem....
What's the problem? Do you want to disable this popup entirely?
-
@d-healey - well actually I cant see why its getting called at all....seems to be a bug.
-
@Lindon Does it appear after installing samples from an hr file?
-
@d-healey yes
-
@Lindon I'll take a look when I have a bit of time later today. I stopped using the
hr
system for a few reasons, I'm now using zip files and I rolled my own installer that extracts them, creates the link file, etc. It's part of my downloader/installer module. -
@d-healey -yes that's a great idea - but as I haven't built one(or licensed yours) yet I am stuck with this problem...
-
-
@d-healey -Okay I'll give that a go. In the Extra definitions?
-
@Lindon Yeah
-