Library: Filter unreal engine entries expect for the dedicated option
This commit is contained in:
parent
b93435d920
commit
1cf53e3b54
|
@ -38,15 +38,15 @@ class LibraryWidgetController(QObject):
|
|||
elif "hidden" in widget.rgame.metadata.tags:
|
||||
visible = False
|
||||
elif filter_name == "installed":
|
||||
visible = widget.rgame.is_installed
|
||||
visible = widget.rgame.is_installed and not widget.rgame.is_unreal
|
||||
elif filter_name == "offline":
|
||||
visible = widget.rgame.can_run_offline
|
||||
visible = widget.rgame.can_run_offline and not widget.rgame.is_unreal
|
||||
elif filter_name == "32bit":
|
||||
visible = widget.rgame.is_win32
|
||||
visible = widget.rgame.is_win32 and not widget.rgame.is_unreal
|
||||
elif filter_name == "mac":
|
||||
visible = widget.rgame.is_mac
|
||||
visible = widget.rgame.is_mac and not widget.rgame.is_unreal
|
||||
elif filter_name == "installable":
|
||||
visible = not widget.rgame.is_non_asset
|
||||
visible = not widget.rgame.is_non_asset and not widget.rgame.is_unreal
|
||||
elif filter_name == "include_ue":
|
||||
visible = True
|
||||
elif filter_name == "all":
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import configparser
|
||||
import os
|
||||
import platform
|
||||
import time
|
||||
from argparse import Namespace
|
||||
from itertools import chain
|
||||
|
|
Loading…
Reference in a new issue