Page MenuHomePhabricator

Department logo cannot be disabled
Closed, ResolvedPublic

Description

QmitkStdMultiWidget::EnableDepartmentLogo() and DisableDepartmentLogo() do not work.

Adding this line to both functions fixed the problem for me:

m_LogoRendering->Update(mitk::BaseRenderer::GetInstance(mitkWidget4->GetRenderWindow());

Event Timeline

I missed a parenthesis from the end.

You might want to call the Update() function from mitk::Overlay::SetVisibility().

Hi,
what about the feature that we could disable the department logo by an empty path of the logo image in the system preferences?

That way one doesn't have to find a way to access QmitkStdMultiWidget.

Thanks,
Ingmar

User kolbch has pushed new remote branch:

bug-18594-UpdateRenderwindowAfterDepartmentLogoChange

User kolbch has pushed new remote branch:

bug-18594-DisableLogoIfEmptyPathIsSet

[742621]: Merge branch 'bug-18594-DisableLogoIfEmptyPathIsSet2'

Merged commits:

2015-03-24 16:45:03 Christoph Kolb [3ff8c7]
set logo invisible if empty path is set

[23a5ac]: Merge branch 'bug-18594-UpdateRenderwindowAfterDepartmentLogoChange'

Merged commits:

2015-03-20 20:15:15 Christoph Kolb [952edc]
Update rendering when department logo visibiliy changed