File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ public static bool IsValidSourceType(object str)
118118
119119 public void Dispose ( )
120120 {
121-
122121 Uni ? . Dispose ( ) ;
122+ Debug . WriteLine ( $ "Disposing { ValueString } w/ { Size } ") ;
123123 }
124124
125125 [ CanBeNull ]
@@ -150,7 +150,9 @@ public override bool Equals(object obj)
150150
151151 public override int GetHashCode ( )
152152 {
153- return HashCode . Combine ( Uni , Upload , Size ) ;
153+ // return HashCode.Combine(Uni, Upload, Size);
154+ return HashCode . Combine ( Uni ) ;
155+ // return Uni.GetHashCode();
154156 }
155157
156158 public static bool operator == ( SearchQuery left , SearchQuery right )
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public MainWindow()
151151
152152 // m_hydrus = new HydrusClient()
153153 ParseArgs ( Args ) ;
154-
154+
155155 }
156156
157157 #region
@@ -671,8 +671,8 @@ private void Cancel()
671671 private void Restart ( bool full = false )
672672 {
673673 Cancel ( ) ;
674- ClearResults ( full ) ;
675674 Dispose ( full ) ;
675+ ClearResults ( full ) ;
676676
677677 CurrentQueueItem = String . Empty ;
678678 ReloadToken ( ) ;
@@ -691,6 +691,7 @@ private void ClearQueryControls()
691691
692692 Tb_Upload . Text = String . Empty ;
693693 Pb_Status . IsIndeterminate = false ;
694+ Tb_Preview . Text = string . Empty ;
694695 }
695696
696697 private void ClearResults ( bool full = false )
You can’t perform that action at this time.
0 commit comments