Update find menu/button appropriately at end of search

This commit is contained in:
Justin Aquadro 2013-10-06 21:50:11 -04:00
parent a700d4c128
commit 276a5c6747

View file

@ -348,6 +348,8 @@ namespace NBTExplorer.Windows
if (_searchForm.ShowDialog(this) == DialogResult.Cancel) {
worker.Cancel();
_searchState = null;
UpdateUI();
}
t.Join();
@ -375,6 +377,9 @@ namespace NBTExplorer.Windows
_searchForm = null;
}
_searchState = null;
UpdateUI();
MessageBox.Show("End of results");
}