1
0
Fork 0
mirror of synced 2024-05-18 19:42:54 +12:00

SelectiveDialog: Keep the layout of the central widget

This commit is contained in:
loathingKernel 2024-01-20 16:57:28 +02:00
parent 5b36727076
commit fa9b49c019

View file

@ -25,7 +25,10 @@ class SelectiveDialog(ButtonDialog):
container_layout.setContentsMargins(0, 0, 0, 0)
container_layout.addWidget(self.selective_widget)
self.setCentralWidget(container)
layout = QVBoxLayout()
layout.addWidget(container)
self.setCentralLayout(layout)
self.accept_button.setText(self.tr("Verify"))
self.accept_button.setIcon(icon("fa.check"))