private void EnsureLastImportDirectoryIsSet(bool useFileImportPath)
{
if (_lastImportDirectory == null)
{
if ((useFileImportPath) &&
(_agsEditor.Preferences.DefaultImportPath.Length > 0))
{
_lastImportDirectory = _agsEditor.Preferences.DefaultImportPath;
}
else
{
_lastImportDirectory = System.IO.Directory.GetCurrentDirectory();
}
}
}