From f13b55b214f9ebf941739718bb79d6c3e6b71eab Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Wed, 30 Nov 2011 09:11:53 -0500 Subject: [PATCH] Enable edit as soon as canvas properties window is brought up. Version bump in m_pd.h --- src/g_editor.c | 5 ++++- src/m_pd.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/g_editor.c b/src/g_editor.c index c3f48c596..94c4c2ffb 100644 --- a/src/g_editor.c +++ b/src/g_editor.c @@ -2058,8 +2058,11 @@ static void canvas_done_popup(t_canvas *x, t_float which, t_float xpos, t_float canvas_doarrange(x, which, oldy, oldy_prev, oldy_next); } - if (which == 0) + if (which == 0) { + if (!x->gl_edit) + canvas_editmode(x, 1); canvas_properties(x); + } else if (which == 2) open_via_helppath("intro.pd", canvas_getdir((t_canvas *)x)->s_name); } diff --git a/src/m_pd.h b/src/m_pd.h index 9a7fcd843..13a928b7e 100644 --- a/src/m_pd.h +++ b/src/m_pd.h @@ -11,7 +11,7 @@ extern "C" { #define PD_MAJOR_VERSION 0 #define PD_MINOR_VERSION 42 #define PD_BUGFIX_VERSION 5 -#define PD_TEST_VERSION "extended-l2ork-20111122" +#define PD_TEST_VERSION "extended-l2ork-20111130" /* old name for "MSW" flag -- we have to take it for the sake of many old "nmakefiles" for externs, which will define NT and not MSW */ -- GitLab