OSDN Git Service

Change generation of files/paths in home dir to use FileManager
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / gui / ShortcutKeys.java
index 8adc9a8..920f560 100644 (file)
@@ -273,7 +273,7 @@ public class ShortcutKeys {
        \r
        // Read in the custom keys (if they exist)\r
        private void loadCustomKeys() {\r
-               File file = new File(Global.getDirectoryPath()+"shortcuts.txt");\r
+               File file = Global.getFileManager().getHomeDirFile("shortcuts.txt");\r
                try {\r
                        Scanner scanner = new Scanner(file);\r
                        while ( scanner.hasNextLine() ){\r