Fixed empty file name

This commit is contained in:
Alexander 2018-12-09 22:47:56 +02:00
parent 839d4d9298
commit 7483b6c7b2

View file

@ -165,7 +165,7 @@ private void openAsotiations()
customRTB.Select(Convert.ToInt32(cc2), 0); customRTB.Select(Convert.ToInt32(cc2), 0);
} }
currentFilename = Path.GetFileName(OpenFile.FileName); currentFilename = Path.GetFileName(args[1]);
} }
private void newToolStripMenuItem_Click_1(object sender, EventArgs e) private void newToolStripMenuItem_Click_1(object sender, EventArgs e)