Changeset 11064 for branches/DataPreprocessing/HeuristicLab.Data.Views
- Timestamp:
- 07/01/14 10:53:46 (10 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing
- Property svn:mergeinfo changed
/trunk/sources merged: 11008,11012-11014,11019,11024-11027,11031,11034-11035,11048,11050-11052,11056-11058,11060
- Property svn:mergeinfo changed
-
branches/DataPreprocessing/HeuristicLab.Data.Views/3.3
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Data.Views/3.3 (added) merged: 11034
- Property svn:mergeinfo changed
-
branches/DataPreprocessing/HeuristicLab.Data.Views/3.3/Path Views/TextFileView.cs
r9850 r11064 68 68 if (Content != null && Content.Exists()) { 69 69 fileSystemWatcher.Filter = Path.GetFileName(Content.Value); 70 fileSystemWatcher.Path = Path.GetDirectoryName(Content.Value); 70 var path = Path.GetDirectoryName(Content.Value); 71 if (string.IsNullOrEmpty(path)) path = Environment.CurrentDirectory; 72 fileSystemWatcher.Path = path; 71 73 } 72 74 fileSystemWatcher.EnableRaisingEvents = Content != null && File.Exists(Content.Value) && Visible;
Note: See TracChangeset
for help on using the changeset viewer.