add application name for PLCOpenEditor
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 16 Sep 2017 21:04:34 +0300
changeset 1815 f0600fe03a89
parent 1814 fc387c4fc1d4
child 1816 724722c03db4
add application name for PLCOpenEditor

This is needed to work user configuration load/store, if PLCOpenEditor
is launched from test environment.
PLCOpenEditor.py
--- a/PLCOpenEditor.py	Fri Sep 15 20:30:24 2017 +0300
+++ b/PLCOpenEditor.py	Sat Sep 16 21:04:34 2017 +0300
@@ -402,6 +402,7 @@
             self.fileOpen = args[0]
 
     def OnInit(self):
+        self.SetAppName('plcopeneditor')
         self.ParseCommandLine()
         InstallLocalRessources(beremiz_dir)
         if wx.VERSION < (3, 0, 0):