Skip to content

Commit

Permalink
[GUI.Qt] Minor single-line cleaning (#4308)
Browse files Browse the repository at this point in the history
Co-authored-by: erik pernod <[email protected]>
  • Loading branch information
alxbilger and epernod authored Nov 24, 2023
1 parent 5a3f36c commit c3aa7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sofa/GUI/Qt/src/sofa/gui/qt/RealGUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1180,7 +1180,7 @@ void RealGUI::registerViewer(BaseViewer* _viewer)

BaseViewer* RealGUI::getViewer()
{
return m_viewer!=nullptr ? m_viewer : nullptr;
return m_viewer;
}

//------------------------------------
Expand Down

0 comments on commit c3aa7d3

Please sign in to comment.