From c8efcf2986aefb99a1e8d8f8eb023d0fe5f529e4 Mon Sep 17 00:00:00 2001
From: Phil Colebrooke <philipc99@hotmail.co.uk>
Date: Fri, 3 Apr 2020 09:37:26 +0100
Subject: [PATCH] Re #28464 fix new title not being set

---
 .../mantidqt/widgets/plotconfigdialog/axestabwidget/presenter.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qt/python/mantidqt/widgets/plotconfigdialog/axestabwidget/presenter.py b/qt/python/mantidqt/widgets/plotconfigdialog/axestabwidget/presenter.py
index 0721cf65740..b53e918d2be 100644
--- a/qt/python/mantidqt/widgets/plotconfigdialog/axestabwidget/presenter.py
+++ b/qt/python/mantidqt/widgets/plotconfigdialog/axestabwidget/presenter.py
@@ -130,6 +130,7 @@ class AxesTabWidgetPresenter:
     def axis_changed(self):
         ax = self.current_axis
 
+        self.current_view_props['title'] = self.view.get_title()
         self.current_view_props[f"{ax}lim"] = (self.view.get_lower_limit(), self.view.get_upper_limit())
         self.current_view_props[f"{ax}label"] = self.view.get_label()
         self.current_view_props[f"{ax}scale"] = self.view.get_scale()
-- 
GitLab