浏览代码

Fix tooltip

Ruben 1 年之前
父节点
当前提交
841fefb0da
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/PicView.WPF/Views/UserControls/Buttons/GoToPicButton.xaml.cs

+ 1 - 1
src/PicView.WPF/Views/UserControls/Buttons/GoToPicButton.xaml.cs

@@ -28,7 +28,7 @@ public partial class GoToPicButton
                 GoToPicBox.CaretBrush = new SolidColorBrush(ConfigColors.MainColor);
             };
             GoToPicBox.PreviewKeyDown += async (s, x) => await GoToPicPreviewKeysAsync(s, x).ConfigureAwait(false);
-            GoToPicBox.Text = TranslationHelper.GetTranslation("GoToImageAtSpecifiedIndex");
+            GoToPicBox.ToolTip = TranslationHelper.GetTranslation("GoToImageAtSpecifiedIndex");
         };
     }