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
890a7559
Commit
890a7559
authored
Sep 20, 2022
by
Halla Rempt
Browse files
Save the scripts to the tenscripts' scripts list
BUG:421231
parent
59425a04
Pipeline
#234928
passed with stage
in 51 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/python/tenscripts/tenscripts.py
View file @
890a7559
...
...
@@ -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'
]):
...
...
Halla Rempt
@rempt
mentioned in commit
c3df24ef
·
Sep 20, 2022
mentioned in commit
c3df24ef
mentioned in commit c3df24efc2882c738741fdb8b5029e5bc471723b
Toggle commit list
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