Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
frontend/main: fix list index out of range errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tfuxu committed Jan 6, 2023
1 parent 980b19f commit 787bb49
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions gradience/frontend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,16 @@ def load_preset_from_css(self):
)
)

logging.debug(f"Loaded custom CSS variables: {variables}")

preset = {
"name": "User",
"name": "Preset Name",
"variables": variables,
"palette": palette,
"custom_css": {"gtk4": custom_css}
"custom_css": {
"gtk4": custom_css,
"gtk3": ""
}
}

self.preset = Preset().new_from_dict(preset)
Expand Down

0 comments on commit 787bb49

Please sign in to comment.