Skip to content

Commit

Permalink
Fix compile-error in JuceDemo if compiling with JUCE_MODAL_LOOPS_PERM…
Browse files Browse the repository at this point in the history
…ITTED=0
  • Loading branch information
hogliux committed Jul 31, 2015
1 parent 71532b0 commit c56903b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/Demo/Source/Demos/MDIDemo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,12 @@ class Note : public Component,
// 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;
Expand Down

0 comments on commit c56903b

Please sign in to comment.