From 68aaa1ff3af1c56e7299bc76f6f1319c1237c9be Mon Sep 17 00:00:00 2001
From: Federico Montesino Pouzols <federico.montesino-pouzols@stfc.ac.uk>
Date: Tue, 25 Nov 2014 15:04:45 +0000
Subject: [PATCH] AssocDialog needs to be modal, like PlotDialog, re #7113

---
 Code/Mantid/MantidPlot/src/AssociationsDialog.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Code/Mantid/MantidPlot/src/AssociationsDialog.cpp b/Code/Mantid/MantidPlot/src/AssociationsDialog.cpp
index b3757eb9ae0..a0531f6bd72 100644
--- a/Code/Mantid/MantidPlot/src/AssociationsDialog.cpp
+++ b/Code/Mantid/MantidPlot/src/AssociationsDialog.cpp
@@ -48,8 +48,9 @@
 AssociationsDialog::AssociationsDialog( Graph* g, Qt::WFlags fl )
     : QDialog( g, fl )
 {
-    setName( "AssociationsDialog" );
-    setWindowTitle( tr( "MantidPlot - Plot Associations" ) );
+  setName( "AssociationsDialog" );
+  setWindowTitle( tr( "MantidPlot - Plot Associations" ) );
+  setModal(true);
   setSizeGripEnabled(true);
   setFocus();
 
-- 
GitLab