Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 43942125c9 | |||
| 82c2bc6ce2 |
@@ -55,7 +55,7 @@ namespace Txt2Bib
|
||||
if (dataObject.ContainsFileDropList())
|
||||
{
|
||||
// Clear values
|
||||
DropArea.Text = string.Empty;
|
||||
if (DropArea.Text == InitialDropText) DropArea.Text = string.Empty;
|
||||
|
||||
// Process file names
|
||||
var fileNames = dataObject.GetFileDropList();
|
||||
@@ -65,7 +65,7 @@ namespace Txt2Bib
|
||||
bd.Append(fileName + "\n");
|
||||
}
|
||||
// Set text
|
||||
DropArea.Text = bd.ToString();
|
||||
DropArea.Text += bd.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -89,6 +89,7 @@ namespace Txt2Bib
|
||||
private void GoBtn_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Execute();
|
||||
MessageBox.Show("File BibTeX generato correttamente.", "Success", MessageBoxButton.OK, MessageBoxImage.Information);
|
||||
}
|
||||
|
||||
private void CopyDebug_Click(object sender, RoutedEventArgs e)
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Txt2Bib
|
||||
/// </summary>
|
||||
public class Text2Bib
|
||||
{
|
||||
private string[] _citTypes = { "J", "B", "C", "P" };
|
||||
private readonly string[] _citTypes = { "J", "B", "C", "P" };
|
||||
|
||||
/// <summary>
|
||||
/// Generate single .bib file from input text files
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<TargetFramework>net6.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWPF>true</UseWPF>
|
||||
<Version>0.1.2</Version>
|
||||
<Version>0.1.5</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user