diff options
-rw-r--r-- | res/about/version.gmi | 1 | ||||
-rw-r--r-- | src/ui/documentwidget.c | 15 |
2 files changed, 6 insertions, 10 deletions
diff --git a/res/about/version.gmi b/res/about/version.gmi index 3abef123..11b23019 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -10,6 +10,7 @@ | |||
10 | * Fixed word wrapping issue in unread feed entry titles. | 10 | * Fixed word wrapping issue in unread feed entry titles. |
11 | * Fixed "Import Links as Bookmarks" so it can be used to import local copies of remote bookmarks when viewing the remote source page. | 11 | * Fixed "Import Links as Bookmarks" so it can be used to import local copies of remote bookmarks when viewing the remote source page. |
12 | * Fixed a cosmetic issue in the Import Identity dialog where part of the widget frames were not drawn. | 12 | * Fixed a cosmetic issue in the Import Identity dialog where part of the widget frames were not drawn. |
13 | * Allow reloading the same URL when clicking on a link or bookmark, or pressing Enter in the navbar. | ||
13 | * Bookmark URLs are normalized by removing the default Gemini port. | 14 | * Bookmark URLs are normalized by removing the default Gemini port. |
14 | 15 | ||
15 | ## 1.1 | 16 | ## 1.1 |
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 87a55dcb..7fffc214 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -3345,16 +3345,11 @@ void deserializeState_DocumentWidget(iDocumentWidget *d, iStream *ins) { | |||
3345 | 3345 | ||
3346 | void setUrlFromCache_DocumentWidget(iDocumentWidget *d, const iString *url, iBool isFromCache) { | 3346 | void setUrlFromCache_DocumentWidget(iDocumentWidget *d, const iString *url, iBool isFromCache) { |
3347 | d->flags &= ~showLinkNumbers_DocumentWidgetFlag; | 3347 | d->flags &= ~showLinkNumbers_DocumentWidgetFlag; |
3348 | if (cmpStringSc_String(d->mod.url, url, &iCaseInsensitive)) { | 3348 | set_String(d->mod.url, url); |
3349 | set_String(d->mod.url, url); | 3349 | /* See if there a username in the URL. */ |
3350 | /* See if there a username in the URL. */ | 3350 | parseUser_DocumentWidget_(d); |
3351 | parseUser_DocumentWidget_(d); | 3351 | if (!isFromCache || !updateFromHistory_DocumentWidget_(d)) { |
3352 | if (!isFromCache || !updateFromHistory_DocumentWidget_(d)) { | 3352 | fetch_DocumentWidget_(d); |
3353 | fetch_DocumentWidget_(d); | ||
3354 | } | ||
3355 | } | ||
3356 | else { | ||
3357 | postCommandf_App("document.changed doc:%p url:%s", d, cstr_String(d->mod.url)); | ||
3358 | } | 3353 | } |
3359 | } | 3354 | } |
3360 | 3355 | ||