mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
fixed issue causing cells not to being editable after selecting another language for a column, also removed dummy language file path
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1962 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
29f097c4c9
commit
485edcca7b
1 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ namespace GreenshotLanguageEditor {
|
|||
return;
|
||||
}
|
||||
|
||||
languagePath = @"C:\Users\jens\Documents\Sharpdevelop Projects\Greenshot\trunk\Greenshot\Languages\";
|
||||
//languagePath = @"C:\Users\jens\Documents\dotNET Projects\Greenshot\Greenshot\Languages";
|
||||
|
||||
InitializeComponent();
|
||||
DataContext = this;
|
||||
|
@ -102,7 +102,7 @@ namespace GreenshotLanguageEditor {
|
|||
View = CollectionViewSource.GetDefaultView(LoadResources(languagePath));
|
||||
languageResources.CollectionChanged += delegate {
|
||||
|
||||
View = CollectionViewSource.GetDefaultView(languageResources.Values);
|
||||
View = CollectionViewSource.GetDefaultView(new List<LanguageEntry>(languageResources.Values));
|
||||
View.Refresh();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue