summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/certimportwidget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/certimportwidget.c b/src/ui/certimportwidget.c
index fdc189db..e121b4d0 100644
--- a/src/ui/certimportwidget.c
+++ b/src/ui/certimportwidget.c
@@ -114,6 +114,7 @@ void init_CertImportWidget(iCertImportWidget *d) {
114 setFlags_Widget(w, 114 setFlags_Widget(w,
115 mouseModal_WidgetFlag | keepOnTop_WidgetFlag | arrangeVertical_WidgetFlag | 115 mouseModal_WidgetFlag | keepOnTop_WidgetFlag | arrangeVertical_WidgetFlag |
116 arrangeSize_WidgetFlag | centerHorizontal_WidgetFlag | 116 arrangeSize_WidgetFlag | centerHorizontal_WidgetFlag |
117 parentCannotResize_WidgetFlag |
117 overflowScrollable_WidgetFlag, 118 overflowScrollable_WidgetFlag,
118 iTrue); 119 iTrue);
119 } 120 }
@@ -219,6 +220,7 @@ static iBool processEvent_CertImportWidget_(iCertImportWidget *d, const SDL_Even
219 return iTrue; 220 return iTrue;
220 } 221 }
221 if (isCommand_Widget(w, ev, "cancel")) { 222 if (isCommand_Widget(w, ev, "cancel")) {
223 setupSheetTransition_Mobile(w, iFalse);
222 destroy_Widget(w); 224 destroy_Widget(w);
223 return iTrue; 225 return iTrue;
224 } 226 }
@@ -226,6 +228,7 @@ static iBool processEvent_CertImportWidget_(iCertImportWidget *d, const SDL_Even
226 if (d->cert && !isEmpty_TlsCertificate(d->cert) && hasPrivateKey_TlsCertificate(d->cert)) { 228 if (d->cert && !isEmpty_TlsCertificate(d->cert) && hasPrivateKey_TlsCertificate(d->cert)) {
227 importIdentity_GmCerts(certs_App(), d->cert, text_InputWidget(d->notes)); 229 importIdentity_GmCerts(certs_App(), d->cert, text_InputWidget(d->notes));
228 d->cert = NULL; /* taken */ 230 d->cert = NULL; /* taken */
231 setupSheetTransition_Mobile(w, iFalse);
229 destroy_Widget(w); 232 destroy_Widget(w);
230 postCommand_App("idents.changed"); 233 postCommand_App("idents.changed");
231 } 234 }