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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user