diff --git a/EliteBGS/MainWindow.xaml b/EliteBGS/MainWindow.xaml
index c34fd8f..b1e30e3 100644
--- a/EliteBGS/MainWindow.xaml
+++ b/EliteBGS/MainWindow.xaml
@@ -73,7 +73,7 @@
-
+
@@ -89,13 +89,14 @@
+
-
+
@@ -114,7 +115,7 @@
-
+
diff --git a/EliteBGS/MainWindow.xaml.cs b/EliteBGS/MainWindow.xaml.cs
index 078e83f..329fc1c 100644
--- a/EliteBGS/MainWindow.xaml.cs
+++ b/EliteBGS/MainWindow.xaml.cs
@@ -329,7 +329,13 @@ public partial class MainWindow : Window {
RefreshView();
}
- private void Profit_TextChanged(object sender, TextChangedEventArgs e) {
+ private void Profit_LostFocus(object sender, RoutedEventArgs e) {
RefreshView();
}
+
+ private void Profit_KeyUp(object sender, System.Windows.Input.KeyEventArgs e) {
+ if (e.Key == Key.Enter) {
+ RefreshView();
+ }
+ }
}