summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index 64348930..27ce93ce 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1508,7 +1508,7 @@ static void updateFontButton_(iLabelWidget *button, int font) {
1508 1508
1509static iBool handlePrefsCommands_(iWidget *d, const char *cmd) { 1509static iBool handlePrefsCommands_(iWidget *d, const char *cmd) {
1510 if (equal_Command(cmd, "prefs.dismiss") || equal_Command(cmd, "preferences")) { 1510 if (equal_Command(cmd, "prefs.dismiss") || equal_Command(cmd, "preferences")) {
1511 setupSheetTransition_Widget(d, iFalse); 1511 setupSheetTransition_Mobile(d, iFalse);
1512 setUiScale_Window(get_Window(), 1512 setUiScale_Window(get_Window(),
1513 toFloat_String(text_InputWidget(findChild_Widget(d, "prefs.uiscale")))); 1513 toFloat_String(text_InputWidget(findChild_Widget(d, "prefs.uiscale"))));
1514#if defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT) 1514#if defined (LAGRANGE_ENABLE_DOWNLOAD_EDIT)
@@ -2383,7 +2383,7 @@ iBool handleCommand_App(const char *cmd) {
2383 iCertImportWidget *imp = new_CertImportWidget(); 2383 iCertImportWidget *imp = new_CertImportWidget();
2384 setPageContent_CertImportWidget(imp, sourceContent_DocumentWidget(document_App())); 2384 setPageContent_CertImportWidget(imp, sourceContent_DocumentWidget(document_App()));
2385 addChild_Widget(get_Root()->widget, iClob(imp)); 2385 addChild_Widget(get_Root()->widget, iClob(imp));
2386 finalizeSheet_Widget(as_Widget(imp)); 2386 finalizeSheet_Mobile(as_Widget(imp));
2387 postRefresh_App(); 2387 postRefresh_App();
2388 return iTrue; 2388 return iTrue;
2389 } 2389 }