Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2009, 11:29:35 PM (15 years ago)
Author:
rgrieder
Message:

Don't really know, but the last revision could in same cases lead to inconsistent behavior when a config value callback triggers another call to setConfigValues.
This change will avoid such problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/ConfigValueContainer.h

    r6218 r6219  
    150150                    if (this->bContainerIsNew_ || (*value) != temp)
    151151                    {
     152                        this->bContainerIsNew_ = false;
    152153                        if (this->callback_ && object)
    153154                            this->callback_->call(object);
     
    155156                            this->bDoInitialCallback_ = true;
    156157                    }
    157 
    158                     if (this->bContainerIsNew_)
    159                         this->bContainerIsNew_ = false;
    160158                }
    161159                else
Note: See TracChangeset for help on using the changeset viewer.