diff options
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/GtkNewProjectDialogBackend.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/GtkNewProjectDialogBackend.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/GtkNewProjectDialogBackend.cs index d2dc85d77f..5f83f21fb9 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/GtkNewProjectDialogBackend.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/GtkNewProjectDialogBackend.cs @@ -177,9 +177,11 @@ namespace MonoDevelop.Ide.Projects SolutionTemplate template = GetSelectedTemplate ();
if ((template == null) || (template.AvailableLanguages.Count <= 1)) {
return;
- }
-
- if (languageCellRenderer.IsLanguageButtonPressed (args.Event)) {
+ } + + // Only display the popup menu on a single press, ignore anything else + // Fixes a crash when triple clicking. VSTS #849556 + if (args.Event.Type == Gdk.EventType.ButtonPress && languageCellRenderer.IsLanguageButtonPressed (args.Event)) {
HandlePopup (template, args.Event.Time);
}
} |