use get methods rather than directly access attributes
This commit is contained in:
		
							parent
							
								
									591e5a7110
								
							
						
					
					
						commit
						1bee360bbb
					
				@ -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):
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user