diff --git a/FanCtrl/Data/OSD/OSDItem.cs b/FanCtrl/Data/OSD/OSDItem.cs index 67d2c0c..c3499ef 100644 --- a/FanCtrl/Data/OSD/OSDItem.cs +++ b/FanCtrl/Data/OSD/OSDItem.cs @@ -138,7 +138,7 @@ public string getUnitString() switch (UnitType) { case OSDUnitType.Temperature: - return (OptionManager.getInstance().IsFahrenheit == false) ? " *C" : " *F"; + return (OptionManager.getInstance().IsFahrenheit == false) ? " 캜" : " 캟"; case OSDUnitType.RPM: return " RPM"; diff --git a/MainForm.cs b/MainForm.cs index c94c3a5..837b3aa 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -635,6 +635,10 @@ private void onDonatePictureBoxClick(object sender, MouseEventArgs e) private void onOSDButtonClick(object sender, EventArgs e) { var form = new OSDForm(); + form.onApplyCallback += (sender2, e2) => + { + mEnableOSDToolStripMenuItem.Checked = OSDManager.getInstance().IsEnable; + }; form.ShowDialog(); form.Dispose(); } diff --git a/OSDForm.cs b/OSDForm.cs index f5d9450..5678904 100644 --- a/OSDForm.cs +++ b/OSDForm.cs @@ -19,6 +19,8 @@ public partial class OSDForm : Form private ListViewItem mGroupEditItem = null; private ListViewItem.ListViewSubItem mGroupEditSubItem = null; + public event EventHandler onApplyCallback; + public OSDForm() { InitializeComponent(); @@ -488,6 +490,7 @@ private void onApplyButtonClick(object sender, EventArgs e) OSDManager.getInstance().IsEnable = mEnableCheckBox.Checked; OSDManager.getInstance().setGroupList(mGroupList); OSDManager.getInstance().write(); + onApplyCallback(sender, e); } private void onOKButtonClick(object sender, EventArgs e) diff --git a/Portable/FanCtrl_v1.1.6.zip b/Portable/FanCtrl_v1.1.6.zip index 2b8349b..21fff03 100644 Binary files a/Portable/FanCtrl_v1.1.6.zip and b/Portable/FanCtrl_v1.1.6.zip differ