diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index 9a8a65862..3ddc6b453 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -256,8 +256,9 @@ void FGPanel::update () { // Do nothing if the panel isn't visible. - if (!fgPanelVisible()) + if ( !fgPanelVisible() ) { return; + } // If the mouse is down, do something if (_mouseDown) {