fixed issue of being prompted for the folder containing the FMTALL and GENMACALL folders, when performing the Update Formats option
This commit is contained in:
parent
417e6ebb40
commit
d7d1b7194d
@ -1935,7 +1935,7 @@ namespace VEPROMS
|
|||||||
string tmp = Properties.Settings.Default.FormatPath;
|
string tmp = Properties.Settings.Default.FormatPath;
|
||||||
DirectoryInfo di = null;
|
DirectoryInfo di = null;
|
||||||
if (tmp != null && tmp !="") di = new DirectoryInfo(Properties.Settings.Default.FormatPath);
|
if (tmp != null && tmp !="") di = new DirectoryInfo(Properties.Settings.Default.FormatPath);
|
||||||
if (((tmp ?? "") == "") || (di != null && (!di.Exists || !File.Exists(di.FullName + @"\fmtall") || !File.Exists(di.FullName + @"\genmacall"))))
|
if (((tmp ?? "") == "") || (di != null && (!di.Exists || !Directory.Exists(di.FullName + @"\fmtall") || !Directory.Exists(di.FullName + @"\genmacall"))))
|
||||||
{
|
{
|
||||||
while (((tmp ?? "") == "") || (!di.Exists || !Directory.Exists(di.FullName + @"\fmtall") || !Directory.Exists(di.FullName + @"\genmacall")))
|
while (((tmp ?? "") == "") || (!di.Exists || !Directory.Exists(di.FullName + @"\fmtall") || !Directory.Exists(di.FullName + @"\genmacall")))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user