693 if not os.access(cfgFile, os.W_OK): |
693 if not os.access(cfgFile, os.W_OK): |
694 E5MessageBox.critical( |
694 E5MessageBox.critical( |
695 None, |
695 None, |
696 self.tr("Edit Configuration"), |
696 self.tr("Edit Configuration"), |
697 self.tr("""The configuration file "{0}" does not exist""" |
697 self.tr("""The configuration file "{0}" does not exist""" |
698 """ or is not writable.""")) |
698 """ or is not writable.""").format(cfgFile)) |
699 return |
699 return |
700 |
700 |
701 self.__editor = MiniEditor(cfgFile, "YAML") |
701 self.__editor = MiniEditor(cfgFile, "YAML") |
702 self.__editor.show() |
702 self.__editor.show() |
703 |
703 |