From 439580240871b6884f52123029eadb7cc4709b04 Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Tue, 23 Jan 2018 17:21:52 +0100 Subject: [PATCH] Bring back the close (X) button to the SalomeResource dialog box. --- src/genericgui/JM_SalomeResource.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/genericgui/JM_SalomeResource.cxx b/src/genericgui/JM_SalomeResource.cxx index a3f0074..bd5ba6d 100644 --- a/src/genericgui/JM_SalomeResource.cxx +++ b/src/genericgui/JM_SalomeResource.cxx @@ -29,7 +29,8 @@ #include JM::SalomeResource::SalomeResource(QWidget *parent, BL::SALOMEServices * salome_services, - const std::string & resource_name) : QDialog(parent) + const std::string & resource_name) +: QDialog(parent, Qt::Window) { DEBTRACE("Creating JM::SalomeResource"); BL_ASSERT(parent); -- 2.39.2