mirror of
https://github.com/jaquadro/NBTExplorer.git
synced 2025-01-10 09:56:25 +00:00
Update find menu/button appropriately at end of search
This commit is contained in:
parent
a700d4c128
commit
276a5c6747
1 changed files with 5 additions and 0 deletions
|
@ -348,6 +348,8 @@ namespace NBTExplorer.Windows
|
||||||
if (_searchForm.ShowDialog(this) == DialogResult.Cancel) {
|
if (_searchForm.ShowDialog(this) == DialogResult.Cancel) {
|
||||||
worker.Cancel();
|
worker.Cancel();
|
||||||
_searchState = null;
|
_searchState = null;
|
||||||
|
|
||||||
|
UpdateUI();
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Join();
|
t.Join();
|
||||||
|
@ -375,6 +377,9 @@ namespace NBTExplorer.Windows
|
||||||
_searchForm = null;
|
_searchForm = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_searchState = null;
|
||||||
|
UpdateUI();
|
||||||
|
|
||||||
MessageBox.Show("End of results");
|
MessageBox.Show("End of results");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue