From 6136aaee427e83dd6e50a359694e2dbc74d10cba Mon Sep 17 00:00:00 2001
From: waydabber <37590873+waydabber@users.noreply.github.com>
Date: Sat, 14 Aug 2021 17:04:18 +0200
Subject: [PATCH] Fix issue when turning off DDC for a display
---
MonitorControl/Info.plist | 2 +-
MonitorControl/UI/Cells/ForceSwCellView.swift | 1 +
MonitorControlHelper/Info.plist | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/MonitorControl/Info.plist b/MonitorControl/Info.plist
index f0102ee..057368c 100644
--- a/MonitorControl/Info.plist
+++ b/MonitorControl/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 2320
+ 2322
LSApplicationCategoryType
public.app-category.utilities
LSMinimumSystemVersion
diff --git a/MonitorControl/UI/Cells/ForceSwCellView.swift b/MonitorControl/UI/Cells/ForceSwCellView.swift
index 53cef8c..2f37155 100644
--- a/MonitorControl/UI/Cells/ForceSwCellView.swift
+++ b/MonitorControl/UI/Cells/ForceSwCellView.swift
@@ -20,6 +20,7 @@ class ForceSwCellView: NSTableCellView {
default:
break
}
+ _ = display.resetSwBrightness()
app.updateMenus()
}
}
diff --git a/MonitorControlHelper/Info.plist b/MonitorControlHelper/Info.plist
index 6e872a9..ea96c15 100644
--- a/MonitorControlHelper/Info.plist
+++ b/MonitorControlHelper/Info.plist
@@ -19,7 +19,7 @@
CFBundleShortVersionString
$(MARKETING_VERSION)
CFBundleVersion
- 2320
+ 2322
LSApplicationCategoryType
public.app-category.utilities
LSBackgroundOnly