[Github-comments] [geany/geany] Add option to hide project close/save warning when opening new project (PR #2949)
elextr
notifications at xxxxx
Sat Oct 23 23:32:17 UTC 2021
@elextr commented on this pull request.
> @@ -631,8 +631,13 @@ static void handle_input_filename(const gchar *buf)
{
if (g_str_has_suffix(locale_filename, ".geany"))
{
- if (project_ask_close())
- main_load_project_from_command_line(locale_filename, TRUE);
+ /* Don't open project when it is already opened */
Yes, in general its best to keep unrelated things separate.
--
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/2949#discussion_r735040952
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211023/eb34cb37/attachment-0001.htm>
More information about the Github-comments
mailing list