Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit e2aacef

Browse files
committed
Fix #328: Settings > File Format Associations Dialog Issue
1 parent 11dcc20 commit e2aacef

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

src/AddIns/Misc/FiletypeRegisterer/Project/Src/RegisterFiletypesPanel.Designer.cs

Lines changed: 7 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/AddIns/Misc/FiletypeRegisterer/Project/Src/RegisterFiletypesPanel.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,12 @@ public override bool StorePanelContents()
8080
}
8181
return true;
8282
}
83+
84+
void fileTypesListBox_MouseClick(object sender, System.Windows.Forms.MouseEventArgs e)
85+
{
86+
if (fileTypesListBox.IndexFromPoint(e.X, e.Y) == ListBox.NoMatches) {
87+
fileTypesListBox.SelectedIndex = -1;
88+
}
89+
}
8390
}
8491
}

0 commit comments

Comments
 (0)