Skip to content

Commit

Permalink
Beautiful Icons. Some Fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekStoj91 committed Jun 4, 2022
1 parent 061027a commit b794233
Show file tree
Hide file tree
Showing 2 changed files with 560 additions and 428 deletions.
16 changes: 13 additions & 3 deletions Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,9 @@ private void FileAdd()
//}
}

this.cntxtMenuListBox.Items[0].Enabled = false;
this.cntxtMenuListBox.Items[1].Enabled = false;

reader.RunWorkerAsync(inputFiles);
}
}
Expand Down Expand Up @@ -915,6 +918,7 @@ private void Reader_DoWork(object sender, DoWorkEventArgs e)
}
break;
default:
listBoxInputFiles.Items.Remove((string)inputFile);
glblErrMsg.Append("@" + inputFile + " : Unknown extension \"" + extension + "\"!\n");
break;
}
Expand Down Expand Up @@ -1304,7 +1308,7 @@ private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
StringBuilder sb = new StringBuilder();
sb.Append("VERSION v1.0 - ETERNAL - BETA1\n");
sb.Append("\n");
sb.Append("PUBLIC BUILD reviewed on 2022-06-04 at 02:30).\n");
sb.Append("PUBLIC BUILD reviewed on 2022-06-04 at 04:30).\n");
sb.Append("This software is free software.\n");
sb.Append("Licensed under GNU General Public License (GPL).\n");
sb.Append("\n");
Expand Down Expand Up @@ -1711,7 +1715,10 @@ private void txtBoxFilter_TextChanged(object sender, EventArgs e)
if (string.IsNullOrEmpty(filter))
{
toolStripForParentDir.Enabled = true;
BuildListView(rightSelectedFOFile, currentViewVirtualNode.Parent);
if (currentViewVirtualNode != null)
{
BuildListView(rightSelectedFOFile, currentViewVirtualNode.Parent);
}
return;
}

Expand Down Expand Up @@ -1772,7 +1779,10 @@ private void btnFilter_Click(object sender, EventArgs e)
if (string.IsNullOrEmpty(filter))
{
toolStripForParentDir.Enabled = true;
BuildListView(rightSelectedFOFile, currentViewVirtualNode.Parent);
if (currentViewVirtualNode != null)
{
BuildListView(rightSelectedFOFile, currentViewVirtualNode.Parent);
}
return;
}

Expand Down
Loading

0 comments on commit b794233

Please sign in to comment.