mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-21 14:34:36 -04:00
feat: add ability to import 4klang patches and instruments
This commit is contained in:
parent
c06ac6ea5e
commit
248ba483c6
@ -106,9 +106,9 @@ func (f *FileDialogStyle) Layout(gtx C) D {
|
||||
n = n[0 : len(n)-len(extension)]
|
||||
switch f.dialog.UseAltExt.Value {
|
||||
case true:
|
||||
n += ".json"
|
||||
n += f.ExtAlt
|
||||
default:
|
||||
n += ".yml"
|
||||
n += f.ExtMain
|
||||
}
|
||||
f.dialog.FileName.SetText(n)
|
||||
}
|
||||
|
Reference in New Issue
Block a user