Skip to content

Commit

Permalink
updated example to match current logic
Browse files Browse the repository at this point in the history
  • Loading branch information
aardschok committed Sep 5, 2017
1 parent e164613 commit 1ac32cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/example_scriptmenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from scriptsmenu import ScriptsMenu
from scriptsmenu.scriptsmenu import (
load_configuration,
load_from_configuration
build_from_configuration
)

# set the example evironment variable
Expand All @@ -19,7 +19,7 @@
menu = ScriptsMenu(title="Scripts", parent=None)

# populate the menu using the configuration JSON file.
load_from_configuration(menu, config)
menu.build_from_configuration(menu, config)

menu.exec_(QtGui.QCursor.pos())

Expand Down

0 comments on commit 1ac32cb

Please sign in to comment.