Exemple #1
0
    def _SaveSettings(self):
        settings = Settings()
        settings.SetLastProfile(self.__profile.GetName())

        try:
            idxRenderer = RENDERERS.index(self.__rendererClass)
        except ValueError:
            return

        settings.SetUsedRenderer(idxRenderer)
Exemple #2
0
    def _SaveSettings(self):
        settings = Settings()
        settings.SetLastProfile(self.__profile.GetName())

        idxRenderer = RENDERERS.index(self.__rendererClass)
        settings.SetUsedRenderer(idxRenderer)