Bug 4099 - the naming style option in the name conventions dialog doesn't change to custom if entries are edited
Summary: the naming style option in the name conventions dialog doesn't change to cust...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-03-26 14:24 UTC by Csaba Halász
Modified: 2012-03-27 01:32 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
proposed fix (2.84 KB, patch)
2012-03-26 14:25 UTC, Csaba Halász
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Csaba Halász 2012-03-26 14:24:15 UTC
Open the "Name conventions" dialog from Project->Project Options->Source code for a C# project that currently has "Parent Policy" naming style selected. Edit one of the entries. The entry gets updated as expected, but the naming style stays "Parent Policy". Closing and reopening the dialog then reverts back to the parent policy settings, and the changes made are lost. Manually changing the style to "Custom" works.
Comment 1 Csaba Halász 2012-03-26 14:25:39 UTC
Created attachment 1580 [details]
proposed fix

Not sure if NameConventionPanelWidget can be made non-public, test compilation was successful though
Comment 2 Mike Krüger 2012-03-27 01:32:06 UTC
fixed, thanks for the fix (I only used a Changed event instead).