Permalink
Browse files

Enable "Cancel" button on Find References dialog.

  • Loading branch information...
1 parent a1c129a commit 89f96a89c8a01824e5a5ca219432c170561fdd32 @dgrunwald dgrunwald committed Oct 24, 2010
@@ -524,7 +524,7 @@ public static IDocument GetDocument(IClass c)
public static void RunFindReferences(IMember member)
{
string memberName = member.DeclaringType.Name + "." + member.Name;
- using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.FindReferences}"))
+ using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.FindReferences}", true))
{
FindReferencesAndRenameHelper.ShowAsSearchResults(StringParser.Parse("${res:SharpDevelop.Refactoring.ReferencesTo}",
new string[,] {{ "Name", memberName }}),
@@ -534,7 +534,7 @@ public static void RunFindReferences(IMember member)
public static void RunFindReferences(IClass c)
{
- using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.FindReferences}"))
+ using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("${res:SharpDevelop.Refactoring.FindReferences}", true))
{
FindReferencesAndRenameHelper.ShowAsSearchResults(
StringParser.Parse("${res:SharpDevelop.Refactoring.ReferencesTo}",

0 comments on commit 89f96a8

Please sign in to comment.