Feat: import / export fix

This commit is contained in:
2026-03-18 15:09:49 +01:00
parent 97a1a997f6
commit e1cf72542c
10 changed files with 57 additions and 55 deletions

View File

@@ -202,7 +202,7 @@ pub(super) fn handle_main_page(ctx: &mut InputContext, key: KeyEvent, ctrl: bool
}
KeyCode::Char('G') => {
let (bank, pattern) = (ctx.app.editor_ctx.bank, ctx.app.editor_ctx.pattern);
ctx.dispatch(AppCommand::ImportPattern { bank, pattern });
ctx.dispatch(AppCommand::ImportShared { bank, pattern });
}
_ => {}
}