[Github-comments] [geany/geany] Add various pref for whether to confirm project close (#2171)

Gennadiy Zlobin notifications at xxxxx
Fri Jun 7 21:54:06 UTC 2019


gennad commented on this pull request.



> @@ -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 ||

Should it not be

```
if (project_prefs.project_ask_close && 
    dialogs_show_question_full(NULL, GTK_STOCK_CLOSE, GTK_STOCK_CANCEL)
``` 
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2171#pullrequestreview-247320668
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190607/c03c46e9/attachment.html>


More information about the Github-comments mailing list