From 1bee360bbb0ffd4805d70f34b633e104231a3fc6 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 8 Jul 2015 15:14:05 +0200 Subject: [PATCH] use get methods rather than directly access attributes --- QtPyLoT.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QtPyLoT.py b/QtPyLoT.py index 0449c3fd..0d84fbd1 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -381,7 +381,7 @@ class MainWindow(QMainWindow): print 'warning: {0}'.format(e) fname = QFileDialog.getSaveFileName(self, 'Save event') fname = fname[0] - self.data.exportEvent(fname, exform) + self.getData().exportEvent(fname, exform) return True def getComponent(self):