use get methods rather than directly access attributes

This commit is contained in:
Sebastian Wehling-Benatelli 2015-07-08 15:14:05 +02:00
parent 591e5a7110
commit 1bee360bbb

View File

@ -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):