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

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2171#discussion_r291765932">src/project.c</a>:</p>
<pre style='color:#555'>> @@ -654,17 +654,16 @@ gboolean project_ask_close(void)
 {
        if (app->project != NULL)
        {
-               if (dialogs_show_question_full(NULL, GTK_STOCK_CLOSE, GTK_STOCK_CANCEL,
+               if (!project_prefs.project_ask_close ||
</pre>
<p>Should it not be</p>
<pre><code>if (project_prefs.project_ask_close && 
    dialogs_show_question_full(NULL, GTK_STOCK_CLOSE, GTK_STOCK_CANCEL)
</code></pre>
<pre><code></code></pre>

<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/pull/2171?email_source=notifications&email_token=AAIOWJ4QYGRE7BC457JL3CDPZLKH5A5CNFSM4HSCHEF2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB265AXA#pullrequestreview-247320668">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7BZBVW5PVBE4DRWATPZLKH5ANCNFSM4HSCHEFQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ3GOB2CO2TR235UUWDPZLKH5A5CNFSM4HSCHEF2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB265AXA.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/pull/2171?email_source=notifications\u0026email_token=AAIOWJ4QYGRE7BC457JL3CDPZLKH5A5CNFSM4HSCHEF2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB265AXA#pullrequestreview-247320668",
"url": "https://github.com/geany/geany/pull/2171?email_source=notifications\u0026email_token=AAIOWJ4QYGRE7BC457JL3CDPZLKH5A5CNFSM4HSCHEF2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB265AXA#pullrequestreview-247320668",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>