From 8cdac01404433c8ad9651a5b87b496ea548c883e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 18 Mar 2013 20:48:16 +0000 Subject: Cache object handles changed() events when no cache has been set cleanly now. --- src/unstable/cacheobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/unstable/cacheobject.h b/src/unstable/cacheobject.h index 0088685..d8ed431 100644 --- a/src/unstable/cacheobject.h +++ b/src/unstable/cacheobject.h @@ -60,7 +60,7 @@ namespace Bu protected: void changed( bool bChanged=true ) { - if( this->bChanged == false && bChanged == true ) + if( this->bChanged == false && bChanged == true && pCache ) pCache->objectChanged( getKey() ); this->bChanged = bChanged; -- cgit v1.2.3