Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
a42a8e91
Unverified
Commit
a42a8e91
authored
Dec 10, 2022
by
AUTOMATIC1111
Committed by
GitHub
Dec 10, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5547 from Ju1-js/master
Make "# settings changed" grammatically correct
parents
feeca195
ce04ba71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ui.py
modules/ui.py
+1
-1
No files found.
modules/ui.py
View file @
a42a8e91
...
@@ -1450,7 +1450,7 @@ def create_ui():
...
@@ -1450,7 +1450,7 @@ def create_ui():
opts
.
save
(
shared
.
config_filename
)
opts
.
save
(
shared
.
config_filename
)
except
RuntimeError
:
except
RuntimeError
:
return
opts
.
dumpjson
(),
f
'{len(changed)} settings changed without save: {", ".join(changed)}.'
return
opts
.
dumpjson
(),
f
'{len(changed)} settings changed without save: {", ".join(changed)}.'
return
opts
.
dumpjson
(),
f
'{len(changed)} settings changed
:
{", ".join(changed)}.'
return
opts
.
dumpjson
(),
f
'{len(changed)} settings changed
{": " if len(changed) > 0 else ""}
{", ".join(changed)}.'
def
run_settings_single
(
value
,
key
):
def
run_settings_single
(
value
,
key
):
if
not
opts
.
same_type
(
value
,
opts
.
data_labels
[
key
]
.
default
):
if
not
opts
.
same_type
(
value
,
opts
.
data_labels
[
key
]
.
default
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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