Skip to content

Commit

Permalink
fixing the name/description of settings tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
RazinShaikh committed Jul 8, 2024
1 parent 5f1bacf commit 4b72320
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zxlive/settings_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def __init__(self, main_window: MainWindow) -> None:
tab_widget = QTabWidget()
layout.addWidget(tab_widget)

self.add_settings_tab(tab_widget, "General", "Tikz rule name settings", general_settings)
self.add_settings_tab(tab_widget, "Tikz rule names", "General ZXLive settings", tikz_rule_name_settings)
self.add_settings_tab(tab_widget, "General", "General ZXLive settings", general_settings)
self.add_settings_tab(tab_widget, "Tikz rule names", "Tikz rule name settings", tikz_rule_name_settings)
self.add_settings_tab(tab_widget, "Tikz export", "These are the class names that will be used when exporting to tikz.", tikz_export_settings)
self.add_settings_tab(tab_widget, "Tikz import", "These are the class names that are understood when importing from tikz.", tikz_import_settings)
self.add_settings_tab(tab_widget, "Tikz layout", "Tikz layout settings", tikz_layout_settings)
Expand Down Expand Up @@ -206,7 +206,7 @@ def browse() -> None:
widget_line.setText(directory)

action = widget_line.addAction(
QIcon(get_data("icons/folder.svg")),QLineEdit.ActionPosition.TrailingPosition
QIcon(get_data("icons/folder.svg")), QLineEdit.ActionPosition.TrailingPosition
)
action.setToolTip("Browse...")
action.triggered.connect(browse)
Expand Down

0 comments on commit 4b72320

Please sign in to comment.