Fix for interface being cleared when open book dialog cancelled, or same book selected.
Clear txtXMLFile when new book opened.
Minor position change to txtNotInSeries.Location on End Action preview form.
MODIFY
XRayBuilder/src/UI/Preview/frmPreviewEA.cs
XRayBuilder/src/UI/Preview/frmPreviewEA.cs
@@ -126,7 +126,7 @@ public async Task Populate(string inputFile, CancellationToken cancellationToken
lblNextAuthor.Visible = false;
linkStore.Visible = false;
- txtNotInSeries.Location = new Point(471, 55);
+ txtNotInSeries.Location = new Point(457, 63);
txtNotInSeries.Visible = true;
}

MODIFY
XRayBuilder/src/UI/frmMain.cs
XRayBuilder/src/UI/frmMain.cs
@@ -151,7 +151,10 @@ private void ToggleInterface(bool enabled)
private void btnBrowseMobi_Click(object sender, EventArgs e)
{
- txtMobi.Text = UIFunctions.GetBook("");
+ var file = UIFunctions.GetBook("");
+ if (string.IsNullOrEmpty(file) || txtMobi.Text.Equals(file))
+ return;
+ txtMobi.Text = file;
}
private void btnBrowseXML_Click(object sender, EventArgs e)
@@ -1002,6 +1005,7 @@ private void ClearInterface(bool bookOpened)
txtTitle.Text = "";
txtAuthor.Text = "";
txtAsin.Text = "";
+ txtXMLFile.Text = "";
// todo another copy
txtDatasource.Text = "Search datasource...";
prgBar.Value = 0;

Fix for interface being cleared when open book dialog cancelled, or same book selected.
Clear txtXMLFile when new book opened.
Minor position change to txtNotInSeries.Location on End Action preview form.