diff --git a/Flow.Launcher/Resources/Controls/InfoBar.xaml b/Flow.Launcher/Resources/Controls/InfoBar.xaml index 1713b3459..f82a32a8b 100644 --- a/Flow.Launcher/Resources/Controls/InfoBar.xaml +++ b/Flow.Launcher/Resources/Controls/InfoBar.xaml @@ -2,6 +2,7 @@ x:Class="Flow.Launcher.Resources.Controls.InfoBar" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:cc="clr-namespace:Flow.Launcher.Resources.Controls" xmlns:converters="clr-namespace:Flow.Launcher.Converters" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" @@ -26,21 +27,22 @@ - - - + + + + Text="{Binding RelativeSource={RelativeSource AncestorType=cc:InfoBar}, Path=Title}" /> diff --git a/Flow.Launcher/Resources/Controls/InfoBar.xaml.cs b/Flow.Launcher/Resources/Controls/InfoBar.xaml.cs index f50bc349e..8b82dc3b6 100644 --- a/Flow.Launcher/Resources/Controls/InfoBar.xaml.cs +++ b/Flow.Launcher/Resources/Controls/InfoBar.xaml.cs @@ -19,9 +19,7 @@ namespace Flow.Launcher.Resources.Controls UpdateMessageVisibility(); UpdateOrientation(); UpdateIconAlignmentAndMargin(); - - // DataContext 설정 (예시) - this.DataContext = this; // InfoBar 자체를 DataContext로 사용 + //this.DataContext = this; } public static readonly DependencyProperty TypeProperty = diff --git a/Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs b/Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs index 9590f7283..b98d76000 100644 --- a/Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs +++ b/Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs @@ -188,15 +188,21 @@ public partial class SettingsPaneGeneralViewModel : BaseModel UpdateEnumDropdownLocalizations(); } } - - public bool LegacyKoreanIMEEnabled + public bool LegacyKoreanIMEEnabled { get => IsLegacyKoreanIMEEnabled(); set { - SetLegacyKoreanIMEEnabled(value); - OnPropertyChanged(nameof(LegacyKoreanIMEEnabled)); - OnPropertyChanged(nameof(KoreanIMERegistryValueIsZero)); + Debug.WriteLine($"[DEBUG] LegacyKoreanIMEEnabled 변경: {value}"); + if (SetLegacyKoreanIMEEnabled(value)) + { + OnPropertyChanged(nameof(LegacyKoreanIMEEnabled)); + OnPropertyChanged(nameof(KoreanIMERegistryValueIsZero)); + } + else + { + Debug.WriteLine("[DEBUG] LegacyKoreanIMEEnabled 설정 실패"); + } } } diff --git a/Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml b/Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml index 6b0f9d440..16db1c676 100644 --- a/Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml +++ b/Flow.Launcher/SettingPages/Views/SettingsPaneGeneral.xaml @@ -322,6 +322,7 @@ Title="{DynamicResource KoreanImeTitle}" Margin="0 12 0 0" Closable="False" + DataContext="{Binding RelativeSource={RelativeSource AncestorType=Border}, Path=DataContext}" IsIconVisible="True" Length="Long" Message="{DynamicResource KoreanImeGuide}"