1
0
mirror of https://github.com/fadden/6502bench.git synced 2026-04-21 10:16:42 +00:00

Improve behavior under Mono

Worked around two crashes in Mono 5.16's WinForms implementation.
(See mono/mono#11070 for the details.)

Still very unstable, but it no longer crashes on startup.

Also, tweaked the "about" box title.
This commit is contained in:
Andy McFadden
2018-10-10 09:49:01 -07:00
parent 275c6dec8c
commit b7dc8e1711
3 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -276,7 +276,7 @@ namespace SourceGen.AppForms {
private void InitCodeListView() {
ListView cv = codeListView;
cv.View = View.Details;
//cv.View = View.Details;
// Create an empty place-holder for the context menu.
codeListView.ContextMenuStrip = new ContextMenuStrip();
@@ -1613,7 +1613,7 @@ namespace SourceGen.AppForms {
mCodeViewSelection = new VirtualListViewSelection();
mDisplayList = null;
codeListView.VirtualListSize = 0;
codeListView.Items.Clear();
//codeListView.Items.Clear();
ShowNoProject();
InvalidateControls(null);