Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm-play-gui
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roman Alifanov
eepm-play-gui
Commits
c33343c2
Commit
c33343c2
authored
Dec 27, 2024
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed bug: programs could not be installed if the list of installed programs…
fixed bug: programs could not be installed if the list of installed programs from epm play was empty.
parent
c5aa2c4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
window.py
src/window.py
+6
-6
No files found.
src/window.py
View file @
c33343c2
...
...
@@ -227,17 +227,17 @@ class EepmPlayGuiWindow(Adw.ApplicationWindow):
)
def
get_install_remove_lists
(
self
):
i
f
not
(
self
.
installed_apps
and
self
.
rows
):
return
[],
[]
i
nstalled_apps
=
self
.
installed_apps
or
[]
rows
=
self
.
rows
or
{}
to_install
=
[
app_name
for
app_name
,
row
in
self
.
rows
.
items
()
if
row
.
checkbox
.
get_active
()
and
app_name
not
in
self
.
installed_apps
app_name
for
app_name
,
row
in
rows
.
items
()
if
row
.
checkbox
.
get_active
()
and
app_name
not
in
installed_apps
]
to_remove
=
[
app_name
for
app_name
,
row
in
self
.
rows
.
items
()
if
not
row
.
checkbox
.
get_active
()
and
app_name
in
self
.
installed_apps
app_name
for
app_name
,
row
in
rows
.
items
()
if
not
row
.
checkbox
.
get_active
()
and
app_name
in
installed_apps
]
return
to_install
,
to_remove
...
...
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