Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Merge requests
!500
Move preference dialog to separate file
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Move preference dialog to separate file
movepref
into
master
Overview
0
Commits
1
Pipelines
2
Changes
44
Merged
Oscar Gustafsson
requested to merge
movepref
into
master
3 weeks ago
Overview
0
Commits
1
Pipelines
2
Changes
2
Expand
Closes
#335 (closed)
0
0
Merge request reports
Compare
version 1
version 1
41f4d25a
3 weeks ago
master (base)
and
latest version
latest version
20506c6d
1 commit,
3 weeks ago
version 1
41f4d25a
1 commit,
3 weeks ago
Show latest version
2 files
+
10
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
b_asic/scheduler_gui/main_window.py
+
2
−
1
Options
@@ -979,7 +979,8 @@ class ScheduleMainWindow(QMainWindow, Ui_MainWindow):
"""
Save preferences of Latency color per type in settings
"""
settings
=
QSettings
()
for
key
,
color
in
self
.
_color_per_type
.
items
():
self
.
_graph
.
_color_change
(
color
,
key
)
if
self
.
_graph
:
self
.
_graph
.
_color_change
(
color
,
key
)
self
.
_converted_color_per_type
[
key
]
=
color
.
name
()
settings
.
setValue
(
f
"
scheduler/preferences/
{
LATENCY_COLOR_TYPE
.
name
}
"
,
Loading