X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FObservable.cxx;h=cf21b32e9990b87f06c58d19d23c45c006d67203;hb=e628a3dc4645cb347ebf060b145e626cc31a65f4;hp=82c51961e7a57849474a958e523fdb37d6c83a12;hpb=5df5effdcd9f09c81c68fd63b1f0359593a823bd;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx index 82c5196..cf21b32 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/Observable.cxx @@ -59,14 +59,14 @@ namespace bbtk //========================================================================= - void Observable::notifyObservers(int command) + void Observable::notifyObservers(int idController,int command) { if(_changed) { int i; for(i=0;i<_observers.size();i++) { - _observers[i]->update(command); + _observers[i]->update(idController,command); } _changed=false; }