From c6ff10e99d965a30525f201639a84655cac74507 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 17 Feb 2022 10:14:06 +0300 Subject: [PATCH] Don't show "Shutdown standalone servers" check-box in SSL mode --- src/SalomeApp/SalomeApp_ExitDlg.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SalomeApp/SalomeApp_ExitDlg.cxx b/src/SalomeApp/SalomeApp_ExitDlg.cxx index 13515f9f9..fb311c634 100644 --- a/src/SalomeApp/SalomeApp_ExitDlg.cxx +++ b/src/SalomeApp/SalomeApp_ExitDlg.cxx @@ -21,6 +21,7 @@ // Author: Margarita KARPUNINA, Open CASCADE S.A.S. // #include "SalomeApp_ExitDlg.h" +#include "KernelBasis.hxx" #include #include @@ -58,6 +59,7 @@ SalomeApp_ExitDlg::SalomeApp_ExitDlg( QWidget* parent ) myServersShutdown = new QCheckBox( tr( "SHUTDOWN_SERVERS" ), this ); myServersShutdown->setChecked( true ); + myServersShutdown->setVisible( !getSSLMode() ); QVBoxLayout* m_vl1 = new QVBoxLayout(); m_vl1->setMargin( 10 ); m_vl1->setSpacing( 16 ); -- 2.39.2