Skip to content

Commit

Permalink
DMX: enable chain mode by default
Browse files Browse the repository at this point in the history
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
  • Loading branch information
Xiangfu Liu committed Dec 9, 2011
1 parent bc4c452 commit 6e48306
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/dmx.c
Expand Up @@ -79,7 +79,7 @@ void load_dmx_config()
value = config_read_int(confname, i+1);
mtk_cmdf(appid, "e_dmx%d.set(-text \"%d\")", i, value);
}
set_chain_mode(config_read_int("dmx_chain", 0));
set_chain_mode(config_read_int("dmx_chain", 1));
}

static void set_config()
Expand Down Expand Up @@ -208,6 +208,8 @@ void init_dmx()
mtk_bind(appid, "b_ok", "commit", ok_callback, NULL);
mtk_bind(appid, "b_cancel", "commit", close_callback, NULL);
mtk_bind(appid, "w", "close", close_callback, NULL);

set_chain_mode(1);
}

void open_dmx_window()
Expand Down

0 comments on commit 6e48306

Please sign in to comment.