Skip to content

Commit

Permalink
also replace placeholders in .xib
Browse files Browse the repository at this point in the history
  • Loading branch information
schriftgestalt committed Apr 20, 2022
1 parent 890597a commit eb1d518
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Python Templates/PluginMaker/PluginMaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ def makePlugin_(self, sender):

pluginFile = os.path.join(exportFilePath, "Contents/Resources/plugin.py")
self.replacePlaceholders(pluginFile, replaceDict)

xibFile = os.path.join(exportFilePath, "Contents/Resources/IBdialog.xib")
if os.path.exists(xibFile):
self.replacePlaceholders(pluginFile, replaceDict)

@objc.IBAction
def showWindow_(self, sender):
Expand Down

0 comments on commit eb1d518

Please sign in to comment.