File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
SmartImage.Lib 3/Engines/Search Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff 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 ( ) ;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ namespace SmartImage.UI;
88internal 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 ) ;
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments