Skip to content
This repository was archived by the owner on Dec 30, 2023. It is now read-only.

Support user-determined behavior for closing windows.#40

Merged
Richasy merged 1 commit intomainfrom
richasy/quitApp
Jun 17, 2023
Merged

Support user-determined behavior for closing windows.#40
Richasy merged 1 commit intomainfrom
richasy/quitApp

Conversation

@Richasy
Copy link
Owner

@Richasy Richasy commented Jun 17, 2023

Close #32

  1. When the user attempts to close the window, a prompt will pop up asking if they would like to hide the application instead of closing it.
  2. Add a setting option about this behavior in the settings page.

PR type

What is the purpose of this PR?

  • Feature

What is the current behavior?

When the user attempts to close the window, the application will be hidden instead of closed.

What is the new behavior?

Users can adjust this behavior to decide whether closing the window will exit the application.

PR checklist

Please check that your PR meets the following requirements:

  • App successfully launched
  • New components
    • For controls, the controls have been placed in the Controls folder of the main project
  • File headers have been added to all source files
  • NOT Contains breaking updates

@Richasy Richasy added the enhancement New feature or request label Jun 17, 2023
@Richasy Richasy merged commit 308cf0d into main Jun 17, 2023
@Richasy Richasy deleted the richasy/quitApp branch June 17, 2023 14:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Allow users to choose whether to exit directly after closing the window

1 participant