Skip to content

Commit

Permalink
Fix import file dialog in db editor filter set as sqlite automatically
Browse files Browse the repository at this point in the history
Now when the import dialog is opened
from the db editor, the file type
filter is automatically set to show
all filetypes instead of just .sqlite
files.

Re #2168
  • Loading branch information
Henrik Koski committed Aug 10, 2023
1 parent 79ce54c commit 09220c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinetoolbox/spine_db_editor/widgets/spine_db_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def import_file(self, checked=False):
self,
"Import file",
self._get_base_dir(),
"SQLite (*.sqlite);; JSON file (*.json);; Excel file (*.xlsx)",
"All files (*);; SQLite (*.sqlite);; JSON file (*.json);; Excel file (*.xlsx)",
)
self.qsettings.endGroup()
if not file_path: # File selection cancelled
Expand Down

0 comments on commit 09220c1

Please sign in to comment.