Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SOHViewer
Manage
Activity
Members
Labels
Plan
Issues
14
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Public
PASSOFT
SOHViewer
Commits
1d39d2e4
Commit
1d39d2e4
authored
10 months ago
by
Kien Le
Browse files
Options
Downloads
Patches
Plain Diff
Fix the issue
parent
10b21a4b
No related branches found
No related tags found
1 merge request
!312
Fix radio buttons becoming exclusive
Pipeline
#3961
passed with stage
in 8 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sohstationviewer/view/ui/main_ui.py
+8
-0
8 additions, 0 deletions
sohstationviewer/view/ui/main_ui.py
with
8 additions
and
0 deletions
sohstationviewer/view/ui/main_ui.py
+
8
−
0
View file @
1d39d2e4
...
@@ -494,6 +494,14 @@ class UIMainWindow(object):
...
@@ -494,6 +494,14 @@ class UIMainWindow(object):
background_group
.
addButton
(
self
.
background_black_radio_button
)
background_group
.
addButton
(
self
.
background_black_radio_button
)
background_group
.
addButton
(
self
.
background_white_radio_button
)
background_group
.
addButton
(
self
.
background_white_radio_button
)
# For some reason, these button groups are deleted once they are out of
# scope, which causes the radio buttons they manage to be in the same
# group. This means that the sdata and data buttons are then also
# exclusive with the black and white background buttons. To fix the
# problem, we save the groups in the class so they don't get deleted.
self
.
data_group
=
data_group
self
.
background_group
=
background_group
add_separation_line
(
left_layout
)
add_separation_line
(
left_layout
)
gap_layout
=
QHBoxLayout
()
gap_layout
=
QHBoxLayout
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment