Commit 4a473faf authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

configure: Minor change (select row for solver).

Showing with 3 additions and 1 deletion
+3 -1
......@@ -11,7 +11,7 @@ from PyQt5.QtCore import (
from PyQt5.QtWidgets import (
QDialogButtonBox, QPushButton, QLineEdit,
QFileDialog, QTableView,
QFileDialog, QTableView, QAbstractItemView
)
......@@ -73,6 +73,8 @@ class ConfigureWindow(ASubWindow, ListedSubWindow):
rows = conf.solvers.copy()
)
self.find(QTableView, "tableView_solver").setModel(self.solver_table_model)
self.find(QTableView, "tableView_solver")\
.setSelectionBehavior(QAbstractItemView.SelectRows)
# Mailleur
self.set_line_edit_text("lineEdit_mailleur", self.conf.mailleur)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment