From 276a5c6747813da330a132aab369539ec8734a10 Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Sun, 6 Oct 2013 21:50:11 -0400 Subject: [PATCH] Update find menu/button appropriately at end of search --- Windows/MainForm.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Windows/MainForm.cs b/Windows/MainForm.cs index 8969055..d1eb4d8 100644 --- a/Windows/MainForm.cs +++ b/Windows/MainForm.cs @@ -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"); }