mirror of https://gitlab.com/pamhyr/pamhyr2
configure: Minor change (select row for solver).
parent
dbf27e6336
commit
4a473faf70
|
|
@ -11,7 +11,7 @@ from PyQt5.QtCore import (
|
||||||
|
|
||||||
from PyQt5.QtWidgets import (
|
from PyQt5.QtWidgets import (
|
||||||
QDialogButtonBox, QPushButton, QLineEdit,
|
QDialogButtonBox, QPushButton, QLineEdit,
|
||||||
QFileDialog, QTableView,
|
QFileDialog, QTableView, QAbstractItemView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -73,6 +73,8 @@ class ConfigureWindow(ASubWindow, ListedSubWindow):
|
||||||
rows = conf.solvers.copy()
|
rows = conf.solvers.copy()
|
||||||
)
|
)
|
||||||
self.find(QTableView, "tableView_solver").setModel(self.solver_table_model)
|
self.find(QTableView, "tableView_solver").setModel(self.solver_table_model)
|
||||||
|
self.find(QTableView, "tableView_solver")\
|
||||||
|
.setSelectionBehavior(QAbstractItemView.SelectRows)
|
||||||
|
|
||||||
# Mailleur
|
# Mailleur
|
||||||
self.set_line_edit_text("lineEdit_mailleur", self.conf.mailleur)
|
self.set_line_edit_text("lineEdit_mailleur", self.conf.mailleur)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue