Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

DMX: enable chain mode by default

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
  • Loading branch information...
commit 6e483060b0cad5f00796519aead070e19a7a5d22 1 parent bc4c452
authored December 09, 2011

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  src/gui/dmx.c
4  src/gui/dmx.c
@@ -79,7 +79,7 @@ void load_dmx_config()
79 79
 		value = config_read_int(confname, i+1);
80 80
 		mtk_cmdf(appid, "e_dmx%d.set(-text \"%d\")", i, value);
81 81
 	}
82  
-	set_chain_mode(config_read_int("dmx_chain", 0));
  82
+	set_chain_mode(config_read_int("dmx_chain", 1));
83 83
 }
84 84
 
85 85
 static void set_config()
@@ -208,6 +208,8 @@ void init_dmx()
208 208
 	mtk_bind(appid, "b_ok", "commit", ok_callback, NULL);
209 209
 	mtk_bind(appid, "b_cancel", "commit", close_callback, NULL);
210 210
 	mtk_bind(appid, "w", "close", close_callback, NULL);
  211
+
  212
+	set_chain_mode(1);
211 213
 }
212 214
 
213 215
 void open_dmx_window()

0 notes on commit 6e48306

Please sign in to comment.
Something went wrong with that request. Please try again.