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

DXF export: fix crash when opening dialog #41900

Closed
wants to merge 1 commit into from

Commits on Feb 27, 2021

  1. DXF export: fix crash when opening dialog

    This is due to the changes done in qgis#39577
    in which QgsLayerTreeView no longer uses the model set with setModel(),
    but wraps it in a QgsLayerTreeProxyModel.
    QgsDxfExportDialog expected QgsLayerTreeView::model() to return the model
    it provided.
    
    Note: the fix is probably incomplete. I noticed that when using
    Select all/Unselect all, the view isn't automatically refreshed. One must
    trigger a redraw (like resizing the dialog) to see the effect.
    rouault committed Feb 27, 2021
    Configuration menu
    Copy the full SHA
    977876a View commit details
    Browse the repository at this point in the history