Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzoic committed Apr 3, 2024
1 parent 14dfbbe commit 1b2b3ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion countess/gui/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def add_row_callback(self, *_):

if isinstance(self.parameter, FileSaveParam):
file_types = self.parameter.file_types
filename = ask_saveas_filename(file_types)
filename = ask_saveas_filename(self.parameter.value, file_types)
self.parameter.value = filename
if isinstance(self.parameter, FileArrayParam):
file_types = self.parameter.file_types
Expand Down
4 changes: 2 additions & 2 deletions countess/gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from countess.gui.mini_browser import MiniBrowserFrame
from countess.gui.tabular import TabularDataFrame
from countess.gui.tree import FlippyCanvas, GraphWrapper
from countess.gui.widgets import info_button, ask_saveas_filename, ask_open_filename
from countess.gui.widgets import ask_open_filename, ask_saveas_filename, info_button
from countess.utils.pandas import concat_dataframes

# import faulthandler
Expand Down Expand Up @@ -124,7 +124,7 @@ def show_config_subframe(self):
# self.node.plugin.update()
self.configurator = PluginConfigurator(self.config_canvas, self.node.plugin, self.config_change_callback)
self.config_subframe = self.configurator.frame
self.frame.rowconfigure(3, weight=1, minsize=self.frame.winfo_height()/2)
self.frame.rowconfigure(3, weight=1, minsize=self.frame.winfo_height() / 2)

else:
has_parents = len(self.node.parent_nodes) > 0
Expand Down

0 comments on commit 1b2b3ac

Please sign in to comment.