<p><b>@frlan</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany-plugins/pull/922#discussion_r332144527">tableconvert/src/tableconvert.c</a>:</p>
<pre style='color:#555'>> @@ -338,6 +351,31 @@ void cb_table_convert_type(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gp
        convert_to_table(TRUE, GPOINTER_TO_INT(gdata));
 }
 
+void cb_table_convert_change_document(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointer gdata)
+{
+       set_activate_state();
+}
+
+void set_activate_state()
+{
+       // getting document
+       GeanyDocument *doc = NULL;
+       doc = document_get_current();
+
+       if (
+               doc != NULL && (
</pre>
<p>Good idea -- but not yet sure it's  really needed.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/922?email_source=notifications&email_token=AAIOWJ7TRZANOJIZEYKIKPTQNNW73A5CNFSM4I53SLH2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHDZDIQ#discussion_r332144527">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6FE73MMXCKDSSLWLDQNNW73ANCNFSM4I53SLHQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJZ723FZGUNTY5CLE7DQNNW73A5CNFSM4I53SLH2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHDZDIQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/922?email_source=notifications\u0026email_token=AAIOWJ7TRZANOJIZEYKIKPTQNNW73A5CNFSM4I53SLH2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHDZDIQ#discussion_r332144527",
"url": "https://github.com/geany/geany-plugins/pull/922?email_source=notifications\u0026email_token=AAIOWJ7TRZANOJIZEYKIKPTQNNW73A5CNFSM4I53SLH2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCHDZDIQ#discussion_r332144527",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>