Mercurial > hg > orthanc-stone
diff Framework/Viewport/WidgetViewport.cpp @ 66:298f375dcb68 wasm
LayerWidget
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 May 2017 22:03:09 +0200 |
parents | ca644004d2ee |
children | 02c3a7a4938f |
line wrap: on
line diff
--- a/Framework/Viewport/WidgetViewport.cpp Tue May 16 22:12:41 2017 +0200 +++ b/Framework/Viewport/WidgetViewport.cpp Wed May 17 22:03:09 2017 +0200 @@ -74,6 +74,7 @@ } backgroundChanged_ = true; + observers_.NotifyChange(this); return *widget; } @@ -264,4 +265,13 @@ centralWidget_->UpdateContent(); } } + + + void WidgetViewport::Start() + { + if (centralWidget_.get() != NULL) + { + centralWidget_->Start(); + } + } }