Beispiel #1
0
 def __onFileTypeChanged(self, _, uuid, newFileType):
     """Triggered on the changed file type"""
     if uuid == self.myUUID:
         MarginBase.setVisible(self, isPythonMime(newFileType))
Beispiel #2
0
 def __onFileTypeChanged(self, fileName, uuid, newFileType):
     """Triggered on the changed file type"""
     del fileName  # unused argument
     if uuid == self.myUUID:
         MarginBase.setVisible(self, isPythonMime(newFileType))