Author Topic: Run script on startup 2 : toolbar launched two time with Python Plugins Paths .  (Read 1928 times)


I work on a script who work with toolbar button.
this button is launched at startup via "Python plugins paths"
but I have little issue:
-> the toolbar is diplayed 2 times   ???

my test script come from official documentation
I just copy paste your example in my test script file

probably i use bad method to start the stoolbar at launch, are you another way for me?

thaaanks  ;)

just in case you haven't figured out the problem.
you have to put the creation of the UI-elements into a definition called "initializeSDPlugin"

def initializeSDPlugin():
    # create and attach the ui elements here...