> @@ -1656,6 +1655,12 @@ gboolean document_reload_prompt(GeanyDocument *doc,
> const gchar *forced_enc)
> g_free(base_name);
> return result;
> }
> +/* also used for reloading when forced_enc is NULL */
> +gboolean document_rename_prompt(GeanyDocument *doc) {
> + document_show_tab(doc);
> + dialogs_show_save_as();
> + return FALSE;
why return something if it's always `FALSE`? if anything, it should be `return
dialogs_show_save_as();`
---
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/1140/files/88f6ad8bebb4a6ef583d1e061ae2faa6d5dd93de#r70873351