Skip to content

Commit

Permalink
IMPROVEMENT: Rename Component Editor window class to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Apr 24, 2024
1 parent f808d64 commit 23a4e04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions MethodicConfigurator/ardupilot_methodic_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

from frontend_tkinter_directory_selection import VehicleDirectorySelectionWindow

from frontend_tkinter_component_editor import JsonEditorApp
from frontend_tkinter_component_editor import ComponentEditorWindow

from frontend_tkinter_parameter_editor import ParameterEditorWindow

Expand Down Expand Up @@ -129,7 +129,7 @@ def main():

start_file = local_filesystem.get_start_file(args.n)

component_editor_window = JsonEditorApp(VERSION, local_filesystem)
component_editor_window = ComponentEditorWindow(VERSION, local_filesystem)
component_editor_window.root.mainloop()

# Call the GUI function with the starting intermediate parameter file
Expand Down
4 changes: 2 additions & 2 deletions MethodicConfigurator/frontend_tkinter_component_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def argument_parser():
# pylint: enable=duplicate-code


class JsonEditorApp(BaseWindow):
class ComponentEditorWindow(BaseWindow):
"""
A class for editing JSON files in the ArduPilot methodic configurator.
Expand Down Expand Up @@ -193,5 +193,5 @@ def save_data(self):
logging_basicConfig(level=logging_getLevelName(args.loglevel), format='%(asctime)s - %(levelname)s - %(message)s')

filesystem = LocalFilesystem(args.vehicle_dir, args.vehicle_type)
app = JsonEditorApp(VERSION, filesystem)
app = ComponentEditorWindow(VERSION, filesystem)
app.root.mainloop()

0 comments on commit 23a4e04

Please sign in to comment.