InstallDialog: Properly find the the row when inserting install_dir_edit
This commit is contained in:
parent
8e1a3c8c73
commit
3ce62facd2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue