Commit c68f0db4 authored by Morten Welinder's avatar Morten Welinder

debug: make it easy to debug underlines.

parent af9fd80a
......@@ -5912,7 +5912,8 @@ wbc_gtk_init (GObject *obj)
/* updates the undo/redo menu labels before check_underlines
* to avoid problems like #324692. */
wb_control_undo_redo_labels (WORKBOOK_CONTROL (wbcg), NULL, NULL);
if (GNM_VERSION_MAJOR % 2) {
if (GNM_VERSION_MAJOR % 2 != 0 ||
gnm_debug_flag ("underlines")) {
gtk_container_foreach (GTK_CONTAINER (wbcg->menu_zone),
(GtkCallback)check_underlines,
(gpointer)"");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment