Skip to content

Commit

Permalink
Simple fix for restarting UI and CSV support. (#1470)
Browse files Browse the repository at this point in the history
* Simple fix for restarting UI and CSV support.

To be remodelled at a point in tim eafter 7.0.0 release.

Fix #1467

* update
  • Loading branch information
joernu76 authored Jun 7, 2022
1 parent 2286ae1 commit 2bc9a6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion localbuild/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ requirements:
- hdf4
- pillow
- pytz
- pyqt >=5, <6
- pyqt >=5, <5.13
- pygeoif
- qt >=5.10, <6
- requests
Expand Down
4 changes: 2 additions & 2 deletions mslib/msui/mss_pyui.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ def __init__(self, mscolab_data_dir=None, *args):
picker_default = config_loader(dataset="filepicker_default")
self.add_plugin_submenu("FTML", "ftml", None, picker_default, plugin_type="Import")
self.add_plugin_submenu("FTML", "ftml", None, picker_default, plugin_type="Export")
self.add_plugin_submenu("CSV", "csv", load_from_csv, picker_default, plugin_type="Import")
self.add_plugin_submenu("CSV", "csv", save_to_csv, picker_default, plugin_type="Export")
self.add_plugins()

preload_urls = config_loader(dataset="WMS_preload")
Expand Down Expand Up @@ -484,8 +486,6 @@ def menu_handler(self):

def add_plugins(self):
picker_default = config_loader(dataset="filepicker_default")
self.add_plugin_submenu("CSV", "csv", load_from_csv, picker_default, plugin_type="Import")
self.add_plugin_submenu("CSV", "csv", save_to_csv, picker_default, plugin_type="Export")
self.import_plugins = {}
self.export_plugins = {}
self.add_import_plugins(picker_default)
Expand Down

0 comments on commit 2bc9a6f

Please sign in to comment.