Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix qgsdialog.cpp to use addLayout #50759

Merged
merged 2 commits into from
Nov 7, 2022
Merged

Fix qgsdialog.cpp to use addLayout #50759

merged 2 commits into from
Nov 7, 2022

Conversation

tarot231
Copy link
Contributor

@tarot231 tarot231 commented Nov 1, 2022

It seems that addLayout should be used when adding another layout to a layout.

If fixed, the code below will display QLineEdit correctly:

dlg = QgsDialog()
layout = dlg.layout()
layout.addWidget(QLineEdit())
dlg.exec()

It seems that addLayout should be used when adding another layout to a layout
@github-actions github-actions bot added this to the 3.30.0 milestone Nov 1, 2022
src/gui/qgsdialog.cpp Show resolved Hide resolved
Fix declaration of "layout" variable
@troopa81 troopa81 merged commit 8d70bef into qgis:master Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants