Commit c3df24ef authored by Halla Rempt's avatar Halla Rempt
Browse files

Save the scripts to the tenscripts' scripts list

BUG:421231
(cherry picked from commit 890a7559)
parent 0db7c21c
Pipeline #234929 passed with stage
in 51 minutes and 6 seconds
......@@ -37,6 +37,7 @@ class TenScriptsExtension(krita.Extension):
"tenscripts", "scripts", "").split(',')
def writeSettings(self):
saved_scripts = self.uitenscripts.saved_scripts()
for index, script in enumerate(saved_scripts):
......@@ -45,6 +46,8 @@ class TenScriptsExtension(krita.Extension):
Application.writeSetting(
"tenscripts", "scripts", ','.join(map(str, saved_scripts)))
self.scripts = saved_scripts
def loadActions(self, window):
for index, item in enumerate(['1', '2', '3', '4', '5',
'6', '7', '8', '9', '10']):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment