提交 f338934f authored 作者: Mitch Capper's avatar Mitch Capper

supposed to be not a child to redirect focus

上级 6eaf4a00
...@@ -429,7 +429,7 @@ namespace FSClient { ...@@ -429,7 +429,7 @@ namespace FSClient {
} }
if (e.Key == Key.Return) { if (e.Key == Key.Return) {
if (text_interception_but_enter && IsItAChild(e.OriginalSource as FrameworkElement, listCalls)) //if we lost focus to another app we will not get the lost focus event so lets double check if (text_interception_but_enter && ! IsItAChild(e.OriginalSource as FrameworkElement, listCalls)) //if we lost focus to another app we will not get the lost focus event so lets double check
text_interception_but_enter = false; text_interception_but_enter = false;
if (text_interception_but_enter) { if (text_interception_but_enter) {
e.Handled = false; e.Handled = false;
......
...@@ -51,5 +51,5 @@ using System.Windows; ...@@ -51,5 +51,5 @@ using System.Windows;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.3.4")] [assembly: AssemblyVersion("1.2.3.5")]
[assembly: AssemblyFileVersion("1.2.3.4")] [assembly: AssemblyFileVersion("1.2.3.5")]
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论