Skip to content

Commit d0d49d7

Browse files
committed
Release candidate
1 parent 38e7bbb commit d0d49d7

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

SmartImage 3/Modes/GuiMode.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ private bool ClipboardCallback(MainLoop c)
463463
*/
464464
if (Integration.ReadClipboard(out var str) && !IsInputValidIndicator() && !m_clipboard.Contains(str)) {
465465
SetInputText(str);
466-
Lbl_InputOk.Text += "C";
466+
Lbl_InputOk.Text = Values.Clp;
467467

468468
m_clipboard.Add(str);
469469
}
@@ -629,10 +629,11 @@ private void ClearControls()
629629
ResultCount = 0;
630630
Pbr_Status.Fraction = 0;
631631

632-
Lbl_InputInfo.Text = ustring.Empty;
632+
Lbl_InputInfo.Text = ustring.Empty;
633633
Lbl_QueryUpload.Text = ustring.Empty;
634-
Lbl_InputInfo2.Text = ustring.Empty;
635-
Lbl_Status.Text = ustring.Empty;
634+
Lbl_InputInfo2.Text = ustring.Empty;
635+
Lbl_Status.Text = ustring.Empty;
636+
636637
Tv_Results.SetNeedsDisplay();
637638
Tf_Input.SetFocus();
638639
Tf_Input.EnsureFocus();

SmartImage 3/UI/Values.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace SmartImage.UI;
88
internal static class Values
99
{
1010
internal static readonly ustring Err = ustring.Make('x');
11+
internal static readonly ustring Clp = ustring.Make('c');
1112
internal static readonly ustring NA = ustring.Make(Application.Driver.RightDefaultIndicator);
1213
internal static readonly ustring OK = ustring.Make(Application.Driver.Checked);
1314
internal static readonly ustring PRC = ustring.Make(Application.Driver.Diamond);

SmartImage.Lib 3/Engines/Search/TraceMoeEngine.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ private async Task<IEnumerable<SearchResultItem>> ConvertResults(TraceMoeRootObj
126126
var result = new SearchResultItem(sr)
127127
{
128128
Similarity = sim,
129-
Description = $"Episode #{epStr} @ [{TimeSpan.FromSeconds(doc.from)} - {TimeSpan.FromSeconds(doc.to)}]",
129+
Description = $"Episode #{epStr} @ " +
130+
$"[{TimeSpan.FromSeconds(doc.from):g} - {TimeSpan.FromSeconds(doc.to):g}]",
130131
};
131132

132133
try {

0 commit comments

Comments
 (0)