NativeLib.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 25 Apr 2016 17:23:04 +0300
changeset 1504 d3f97b72c02a
parent 944 52a17be9c4d1
child 1511 91538d0c242c
permissions -rw-r--r--
fix issue that if functional block is dragged from project panel into
ST text editor and in dialog 'Please enter a block name' button
'cancel' is pressed, despite of cancel text about drag'n'dropped type
is pasted in ST program.
import os
from POULibrary import POULibrary

class NativeLibrary(POULibrary):
    def GetLibraryPath(self):
        return os.path.join(os.path.split(__file__)[0], "NativeLib.xml")