Skip to content

Commit

Permalink
update conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Peter committed Feb 20, 2023
1 parent 1b61fff commit d9440eb
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions spyder/plugins/run/confpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ def setup_page(self):
self.executor_index_changed)
self.executor_combo.setModel(self.executor_model)

executor_group = QGroupBox(_('Run executors'))
executor_layout = QVBoxLayout()
executor_layout.addWidget(self.executor_combo)
executor_group.setLayout(executor_layout)

self.params_table = RunParametersTableView(self, self.table_model)
self.params_table.setMaximumHeight(180)

Expand Down Expand Up @@ -223,7 +218,7 @@ def setup_page(self):
sn_buttons_layout.setColumnStretch(1, 2)
sn_buttons_layout.setColumnStretch(2, 1)

# --- Run code tab ---
# --- Editor interactions tab ---
newcb = self.create_checkbox
saveall_box = newcb(_("Save all files before running script"),
'save_all_before_run')
Expand All @@ -236,12 +231,10 @@ def setup_page(self):
run_widget = QWidget()
run_widget.setLayout(run_layout)



vlayout = QVBoxLayout()
vlayout.addWidget(about_label)
vlayout.addSpacing(10)
vlayout.addWidget(executor_group)
vlayout.addWidget(self.executor_combo)
vlayout.addWidget(params_group)
vlayout.addLayout(sn_buttons_layout)
vlayout.addStretch(1)
Expand All @@ -251,7 +244,7 @@ def setup_page(self):
self.tabs = QTabWidget()
self.tabs.addTab(self.create_tab(executor_widget), _("Run executors"))
self.tabs.addTab(
self.create_tab(run_widget), _("Editor interaction"))
self.create_tab(run_widget), _("Editor interactions"))
main_layout = QVBoxLayout()
main_layout.addWidget(self.tabs)
self.setLayout(main_layout)
Expand Down

0 comments on commit d9440eb

Please sign in to comment.