From 79b27457125dc2e259783359085021eea1d26e3a Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Wed, 23 Sep 2026 09:34:16 +0200 Subject: tui: "Byt bolag" in the main menu Reopens the org picker (cursor on the current org) and switches the running session: the org's name, role, current fiscal year and series are reloaded and the remembered list selections cleared. The context reload now clears the previous org's values first. Co-Authored-By: Claude Opus 5.5 --- clients/ui.h | 1 + 1 file changed, 1 insertion(+) (limited to 'clients/ui.h') diff --git a/clients/ui.h b/clients/ui.h index 8574121..884adbf 100644 --- a/clients/ui.h +++ b/clients/ui.h @@ -76,6 +76,7 @@ void kr_whole(int64_t ore, char *buf, size_t n); int parse_x_double(const char *s, double *out); void replace_x_into(const char *src, double x, char *dst, size_t cap); void app_refresh_context(struct app *a); +int select_org(struct app *a); char *rpc_dry(struct app *a, const char *cmd, const char *args); char *read_file_b64(const char *path); char *file_browser(struct app *a, const char *start_dir); -- cgit v1.3