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

String fix. Minor additional methods for FileBasedDocument and Slider. Jucer development.

This commit is contained in:
Julian Storer 2010-04-17 16:22:18 +01:00
parent 643eea5fde
commit a612dfdc2f
27 changed files with 1089 additions and 782 deletions

View file

@ -54,7 +54,11 @@ FileBasedDocument::~FileBasedDocument()
//==============================================================================
void FileBasedDocument::setChangedFlag (const bool hasChanged)
{
changedSinceSave = hasChanged;
if (changedSinceSave != hasChanged)
{
changedSinceSave = hasChanged;
sendChangeMessage (this);
}
}
void FileBasedDocument::changed()
@ -69,7 +73,7 @@ void FileBasedDocument::setFile (const File& newFile)
if (documentFile != newFile)
{
documentFile = newFile;
changedSinceSave = true;
changed();
}
}