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 #121746: ask for confirmation before deleting a workspace #2787

Merged
merged 1 commit into from
Aug 22, 2016

Conversation

Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz commented Aug 20, 2016

and change Qt's foreach(a, b) to C++11's for (a : b)
Also improve the delete palette message
Should go to master and 2.0.4, just like PR #2525

QMessageBox::StandardButton reply;
reply = QMessageBox::question(0,
QWidget::tr("Warning"),
QWidget::tr("Are you sure?"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably need a better message and title no? If you let your computer on this dialog for a while and come back: Are you sure about what?

Copy link
Contributor

@lasconic lasconic Aug 22, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proposal.

Title. Are you sure?
Do you really want to delete the workspace workspacename?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, but same is true for the other PR I referenced.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change it for both

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you really want to delete the "name" palette/workspace? would be more grammatical.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let's do that then

and change Qt's `foreach(a, b)` to C++11's `for (a : b)`
Also improve the delete palette message
@lasconic lasconic merged commit 964df1a into musescore:master Aug 22, 2016
@Jojo-Schmitz Jojo-Schmitz deleted the workspace-delete-confirm branch August 22, 2016 19:17
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

3 participants