configure: Minor change (select row for solver).

This commit is contained in:
Pierre-Antoine Rouby committed 2023-03-22 14:00:35 +01:00
1 parent dbf27e6336
commit 4a473faf70
1 file changed
+3 -1
+3 -1
View File
@@ -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)