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

Don't silently close QGIS with unsaved changes in the console script #39191

Merged
merged 3 commits into from Oct 6, 2020

Commits on Oct 6, 2020

  1. Allow plugins and scripts to register custom logic to prevent

    the QGIS application from exiting
    
    This interface allows plugins to implement custom logic to determine whether it is safe
    for the application to exit, e.g. by checking whether the plugin or script has any
    unsaved changes which should be saved or discarded before allowing QGIS to exit.
    nyalldawson committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    e3c3329 View commit details
    Browse the repository at this point in the history
  2. Don't silently close QGIS with unsaved changes in the console script

    editors
    
    Instead prompt the user what to do with these changes
    
    Fixes qgis#38529
    nyalldawson committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    e1dca5f View commit details
    Browse the repository at this point in the history
  3. Fix test

    nyalldawson committed Oct 6, 2020
    Configuration menu
    Copy the full SHA
    41a0226 View commit details
    Browse the repository at this point in the history