diff options
-rw-r--r-- | res/about/version.gmi | 1 | ||||
-rw-r--r-- | src/ui/certimportwidget.c | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/res/about/version.gmi b/res/about/version.gmi index c48a16d0..0a51df34 100644 --- a/res/about/version.gmi +++ b/res/about/version.gmi | |||
@@ -7,6 +7,7 @@ | |||
7 | # Release notes | 7 | # Release notes |
8 | 8 | ||
9 | ## 1.5.2 | 9 | ## 1.5.2 |
10 | * Fixed pasting a PEM-formatted certificate and/or private key via clipboard in Import Identity. | ||
10 | * Normalize page contents (NFC) to avoid most common issues with diacritics. | 11 | * Normalize page contents (NFC) to avoid most common issues with diacritics. |
11 | 12 | ||
12 | ## 1.5.1 | 13 | ## 1.5.1 |
diff --git a/src/ui/certimportwidget.c b/src/ui/certimportwidget.c index e121b4d0..6e818137 100644 --- a/src/ui/certimportwidget.c +++ b/src/ui/certimportwidget.c | |||
@@ -215,6 +215,14 @@ static iBool processEvent_CertImportWidget_(iCertImportWidget *d, const SDL_Even | |||
215 | return iTrue; | 215 | return iTrue; |
216 | } | 216 | } |
217 | } | 217 | } |
218 | if (isCommand_UserEvent(ev, "input.paste")) { | ||
219 | if (!tryImportFromClipboard_CertImportWidget_(d)) { | ||
220 | makeSimpleMessage_Widget(uiTextCaution_ColorEscape "${heading.certimport.pasted}", | ||
221 | "${dlg.certimport.notfound}"); | ||
222 | } | ||
223 | postRefresh_App(); | ||
224 | return iTrue; | ||
225 | } | ||
218 | if (isCommand_UserEvent(ev, "certimport.paste")) { | 226 | if (isCommand_UserEvent(ev, "certimport.paste")) { |
219 | tryImportFromClipboard_CertImportWidget_(d); | 227 | tryImportFromClipboard_CertImportWidget_(d); |
220 | return iTrue; | 228 | return iTrue; |