Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions Src/XCore/xWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1890,10 +1890,6 @@ public virtual void OnPropertyChanged(string name)
}
}
break;

case "DocumentName":
UpdateCaptionBar();
break;
case "ShowRecordList": // Replaces obsolete "ShowTreeBar".
UpdateSidebarAndRecordBarDisplay(true);
break;
Expand Down Expand Up @@ -2152,7 +2148,7 @@ protected void UpdateCaptionBar()
{
Text = String.Format("{0} - {1}",
m_propertyTable.GetStringProperty("DocumentName", ""),
m_propertyTable.GetStringProperty("applicationName", "application name???")); ;
m_propertyTable.GetStringProperty("applicationName", "application name???"));
}

#region Helper methods
Expand Down
9 changes: 1 addition & 8 deletions Src/xWorks/FwXWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ protected void InitMediatorValues(LcmCache cache)
m_propertyTable.LocalSettingsId = "local";
m_propertyTable.SetProperty("cache", cache, true);
m_propertyTable.SetPropertyPersistence("cache", false);
m_propertyTable.SetProperty("DocumentName", GetProjectName(cache), true);
m_propertyTable.SetProperty("DocumentName", GetProjectName(cache), false);
m_propertyTable.SetPropertyPersistence("DocumentName", false);
var path = LcmFileHelper.GetConfigSettingsDir(cache.ProjectId.ProjectFolder);
Directory.CreateDirectory(path);
Expand Down Expand Up @@ -1289,13 +1289,6 @@ private void LaunchProjPropertiesDlg()
{
fFilesMoved = m_app.UpdateExternalLinks(sLinkedFilesRootDir);
}
// no need for any of these refreshes if entire window has been/will be
// destroyed and recreated.
if (!fDbRenamed && !fFilesMoved)
{
m_propertyTable.SetProperty("DocumentName", cache.ProjectId.UiName, true);
m_propertyTable.SetPropertyPersistence("DocumentName", false);
}
}
}
if (fDbRenamed)
Expand Down
Loading