X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FObservable.cxx;fp=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FObservable.cxx;h=b169cc43b0e737cd74a3646d680b1d293d4959a7;hb=0b3b25440d23eabf549ebdfa0a4a39ea91ea2f23;hp=9b6a4f5622804528a8cb1f9b99735de67545e084;hpb=311af31f393ba7d5788a0a843ee412eebdf43a82;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx index 9b6a4f5..b169cc4 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx @@ -59,14 +59,14 @@ namespace bbtk //========================================================================= - void Observable::notifyObservers() + void Observable::notifyObservers(int command) { if(_changed) { int i; for(i=0;i<_observers.size();i++) { - _observers[i]->update(); + _observers[i]->update(command); } _changed=false; }