freebsd-ports/multimedia/openshot/files/patch-src_windows_preferences.py

11 lines
680 B
Python

--- src/windows/preferences.py.orig 2024-12-22 02:37:46 UTC
+++ src/windows/preferences.py
@@ -358,7 +358,7 @@ class Preferences(QDialog):
value_list.remove(value_item)
elif os_platform == "Windows" and v not in ("0", "3", "4"):
value_list.remove(value_item)
- elif os_platform == "Linux" and v not in ("0", "1", "2", "6"):
+ elif (os_platform == "FreeBSD" or os_platform == "Linux") and v not in ("0", "1", "2", "6"):
value_list.remove(value_item)
# Add test button