Skip to content

Commit

Permalink
open only grist files from menu bar for the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfitz committed Apr 4, 2023
1 parent deb163b commit 1492133
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/app/electron/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ class GristApp {
const result = await electron.dialog.showOpenDialog({
title: 'Open existing Grist file',
defaultPath: this.app.getPath('documents'),
filters: [{ name: 'Grist files', extensions: ['grist', 'csv', 'xlsx', 'xlsm'] }],
filters: [{ name: 'Grist files', extensions: ['grist'] }],
// disabling extensions 'csv', 'xlsx', and 'xlsm' for the moment.
properties: ['openFile']
});
const files = result.filePaths;
Expand Down

0 comments on commit 1492133

Please sign in to comment.