restart is not required when changing enabled gems

This commit is contained in:
Vinicius Moreira
2019-09-16 19:09:05 -03:00
parent 227e417491
commit c1410ca9b6
22 changed files with 183 additions and 127 deletions

View File

@@ -34,7 +34,7 @@ def update_info(pkgv: PackageView, pkgs_info: dict):
def apply_filters(pkgv: PackageView, filters: dict, info: dict):
hidden = filters['only_apps'] and not pkgv.model.is_application()
hidden = filters['only_apps'] and pkgv.model.installed and not pkgv.model.is_application()
if not hidden and filters['type'] is not None and filters['type'] != 'any':
hidden = pkgv.model.get_type() != filters['type']