Limit presets to .eqf

This commit is contained in:
Ricky Miller 2018-02-12 17:20:15 -06:00 committed by Jordan Eldredge
parent 5732baeb97
commit bd7ac23bc0

View file

@ -5,7 +5,7 @@ import { ContextMenu, Node } from "../ContextMenu";
const MainContextMenu = props => (
<ContextMenu top id="presets-context" handle={<div id="presets" />}>
<Node onClick={props.openFileDialog} label="Load" />
<Node onClick={props.openFileDialog.bind(null, ".eqf")} label="Load" />
<Node onClick={props.downloadPreset} label="Save" />
</ContextMenu>
);