1
0
Fork 0
mirror of synced 2024-06-23 08:40:45 +12:00

InstallDialog: Properly find the the row when inserting install_dir_edit

This commit is contained in:
loathingKernel 2023-12-12 00:45:29 +02:00
parent 8e1a3c8c73
commit 3ce62facd2
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD

View file

@ -86,7 +86,7 @@ class InstallDialog(QDialog):
parent=self,
)
self.ui.install_dialog_layout.setWidget(
self.ui.install_dialog_layout.indexOf(self.ui.install_dir_label),
self.ui.install_dialog_layout.getWidgetPosition(self.ui.install_dir_label)[0],
QFormLayout.FieldRole, self.install_dir_edit
)