Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Krita
Commits
c3df24ef
Commit
c3df24ef
authored
Sep 20, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/python/tenscripts/tenscripts.py
View file @
c3df24ef
...
...
@@ -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'
]):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment