1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix compile-error in JuceDemo if compiling with JUCE_MODAL_LOOPS_PERMITTED=0

This commit is contained in:
hogliux 2015-07-31 12:08:19 +01:00
parent 71532b0e75
commit c56903b175

View file

@ -94,10 +94,12 @@ public:
// not interested in this for now
}
#if JUCE_MODAL_LOOPS_PERMITTED
File getSuggestedSaveAsFile (const File&) override
{
return File::getSpecialLocation (File::userDesktopDirectory).getChildFile (getName()).withFileExtension ("jnote");
}
#endif
private:
Value textValueObject;