File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -219,15 +219,15 @@ private async void OnLoaded(object sender, RoutedEventArgs _)
219
219
}
220
220
} ;
221
221
222
- // ✅ QueryTextBox.Text 변경 감지 (글자 수 1 이상일 때만 동작하도록 수정 )
222
+ // QueryTextBox.Text change detection (modified to only work when character count is 1 or higher )
223
223
QueryTextBox . TextChanged += ( sender , e ) => UpdateClockPanelVisibility ( ) ;
224
224
225
- // ✅ ContextMenu.Visibility 변경 감지
225
+ // Detecting ContextMenu.Visibility changes
226
226
DependencyPropertyDescriptor
227
227
. FromProperty ( VisibilityProperty , typeof ( ContextMenu ) )
228
228
. AddValueChanged ( ContextMenu , ( s , e ) => UpdateClockPanelVisibility ( ) ) ;
229
229
230
- // ✅ History.Visibility 변경 감지
230
+ // Detect History.Visibility changes
231
231
DependencyPropertyDescriptor
232
232
. FromProperty ( VisibilityProperty , typeof ( StackPanel ) ) // History는 StackPanel이라고 가정
233
233
. AddValueChanged ( History , ( s , e ) => UpdateClockPanelVisibility ( ) ) ;
@@ -242,6 +242,7 @@ private async void OnClosing(object sender, CancelEventArgs e)
242
242
e . Cancel = true ;
243
243
await PluginManager . DisposePluginsAsync ( ) ;
244
244
Notification . Uninstall ( ) ;
245
+ // After plugins are all disposed, we can close the main window
245
246
_canClose = true ;
246
247
Close ( ) ;
247
248
}
You can’t perform that action at this time.
0 commit comments