Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorClaudio Rodrigo Pereyra Diaz <elsupergomez@gmail.com>2015-04-23 21:52:30 +0300
committerClaudio Rodrigo Pereyra Diaz <elsupergomez@gmail.com>2015-04-23 21:52:30 +0300
commitc480ba7566ebac79cd20a91eb51afd2f8d70af59 (patch)
tree7e5e45661953d8488f8e89b1f1ec330cca8ed6db /extras
parent2247631261005ab1d79c0277228fb992434469e9 (diff)
Update SqlQueryView.cs
This prevent a bug that position the second character typed at first of the line on new query because reload the mime type. Initialize the Document.Text property set the mime type before any character typed.
Diffstat (limited to 'extras')
-rw-r--r--extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs
index 6dbed8d803..248e45abd6 100644
--- a/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs
+++ b/extras/MonoDevelop.Database/MonoDevelop.Database.Query/SqlQueryView.cs
@@ -135,6 +135,7 @@ namespace MonoDevelop.Database.Query
Document.MimeType = GetMimeType ();
};
+ Document.Text = string.Empty;
notebook.Hide ();
}