Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Commit 5752409

Browse files
authored
Merge pull request #109 from rhaleblian:0-fix-label
Correct button labels when setting new font
2 parents 4dc6056 + 9c85ea2 commit 5752409

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
/dslibris.3dsx
2020
/dslibris.lst
2121
/dslibris.smdh
22-
/test/*/*.epub
22+
/test/*/*

source/app_font.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,9 @@ void App::FontButton()
243243
}
244244

245245
// Re-read fonts.
246+
// TODO remove, redundant.
246247
ts->Init();
247248

248-
mode = APP_MODE_PREFS;
249-
prefs_view_dirty = true;
250-
251249
prefs->Write();
250+
ShowSettingsView();
252251
}

0 commit comments

Comments
 (0)