runtime/__init__.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 22 Apr 2016 17:02:18 +0300
changeset 1501 d917c209529d
parent 344 25b7b7f854bc
child 1511 91538d0c242c
permissions -rw-r--r--
fix Traceback if search icon on library panel is clicked, when no
category/item is selected in the library.

The problem is here, that if nothing is selected method GetSelection()
returns root item, that doesn't have any python data associated with it.
This issue seems to be wx3.0 specified, because it doesn't exist
with wx2.8 on Windows.
49
45dc6a944ab6 On the long wat towards generated code comilation...
etisserant
parents:
diff changeset
     1
# module which import C files as strings
45dc6a944ab6 On the long wat towards generated code comilation...
etisserant
parents:
diff changeset
     2
45dc6a944ab6 On the long wat towards generated code comilation...
etisserant
parents:
diff changeset
     3
import os
45dc6a944ab6 On the long wat towards generated code comilation...
etisserant
parents:
diff changeset
     4
344
25b7b7f854bc Wait the debug thread has terminated before freeing PLC to avoid random segmentation fault.
greg
parents: 209
diff changeset
     5
from PLCObject import PLCObject, PLCprint
203
cb9901076a21 Added concepts :
etisserant
parents: 49
diff changeset
     6
import ServicePublisher