Apply the user's preferences to the initial state of the Globals.
()
| 725 | * Apply the user's preferences to the initial state of the Globals. |
| 726 | */ |
| 727 | public static void initPreferences() |
| 728 | { |
| 729 | if (selectedPaper != -1) |
| 730 | { |
| 731 | // Already initialized |
| 732 | return; |
| 733 | } |
| 734 | final String papersize = PCGenSettings.getInstance().initProperty(PCGenSettings.PAPERSIZE, "A4"); |
| 735 | selectPaper(papersize); |
| 736 | } |
| 737 | |
| 738 | /** |
| 739 | * Sorts chooser lists using the appropriate method, based on the type of the first item in either list. |
no test coverage detected