Skip to content

Commit

Permalink
fix preferences installation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston committed Nov 27, 2023
1 parent bc38abb commit 340be8a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions molecularnodes/ui/pref.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,16 @@ def draw(self, context):
pkgs = pkg.get_pkgs()
for package in pkgs.values():
row = layout.row()
col = row.column()
row = col.row()
if pkg._is_apple_silicon and package['name'] == "MDAnalysis":
apple_silicon_warning(row)
row = col.row()
row.enabled = False
row.alert = True
pkg.button_install_pkg(
layout = row,
name = package.get('name'),
version = package.get('version'),
desc = package.get('desc')
)
if pkg._is_apple_silicon:
apple_silicon_warning(row)

0 comments on commit 340be8a

Please sign in to comment.