[renaming] and a chunk size constant

This commit is contained in:
Jan Grewe 2021-01-11 22:45:53 +01:00
parent 372572a7ed
commit ce756b5327
3 changed files with 4 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -10,6 +10,8 @@ settings_recent_files_key = "/".join([organization, application, "recent_files"]
settings_recent_file_max_count_key = "/".join([organization, application, "recent_files_max_count"])
settings_recent_file_max_count = 10
io_chunksize = 10000000
PACKAGE_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
ICONS_FOLDER = os.path.join(PACKAGE_ROOT, "icons")
DOCS_ROOT_FILE = os.path.join(PACKAGE_ROOT, "docs", "index.md")

View File

@ -23,9 +23,9 @@ class CentralWidget(QWidget):
self._stack.setCurrentIndex(1)
self._file_view.update()
def plot_item(self, item):
def plot_item(self, item_descriptor):
self._stack.setCurrentIndex(2)
self._plot_screen.plot(item)
self._plot_screen.plot(item_descriptor)
def on_plot_close(self):
self._stack.setCurrentIndex(1)