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:
parent
643eea5fde
commit
a612dfdc2f
27 changed files with 1089 additions and 782 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue