-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
User can disable 'Save Project' dialog #2420
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
Conversation
|
@justinclift May I ask for a review because since you participated in that issue? 🤔 |
|
Sure. 😄 I can't review the code in a meaningful way (lack of C++ skill these days). Looking at the text string " It would probably be useful to add some kind of tooltip or similar help text as well, to let people know what this is for. Maybe something like "If this is turned on, then changes to the database file won't generate a save confirmation dialog when closing the database. Instead, the changes will be lost, leaving the database unchanged." Does that help? 😄 |
|
@justinclift Cool 😄 , I'm out there right now, so I'll fix it when I get home. And I am still analyzing about the our project code, so I'm worried that it will cause problems that I don't know. Could you recommend another reviewer? 🤔 Sorry if it's rude. It was never intended to be that way. |
Not /strictly/ true. I thought this stopped the dialogs that pop up if you create a new 'execute Sql' tab, and not directly related to the database itself...
Do the other controls move to the right automatically, or does lucydodo have to move half a billion controls to align them all? 🤣 |
Er... if what's rude? Um, I'm not seeing anything related to rudeness here, so I'm not sure what that comment is about. 🤷♂️ Reviewer wise, I'd say @mgrojo probably. 😁 |
|
@justinclift It may be a silly concern, but I was worried that it might sound rude to ask an existing reviewer to recommend another reviewer. Each person has a different culture, so I'm careful about the small things. 🤔 🤔 |
|
@chrisjlocke Oh, You're right. 😄 |
|
Why not "Prompt to save SQL tabs in new project file" with default value
True?I'm always suspicious about double negations and in this case the
affirmative phrase even makes this long label a bit shorter.
I'll try to review the code later this weekend.
|
That's a good idea. 😄 |
|
Good idea, @mgrojo |
|
@mgrojo Thanks for great idea 😄 I just modified the code according to your review. |
mgrojo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With all the changes to the PreferencesDialog.ui it's difficult to know if some problem has slipped in. I suppose they are the consequence of the trials during the pull-request review. Could they be undone, so only the relevant changes are there? That will also make the history cleaner if we squashed the branch before commiting.
|
Are you saying squash all the commits of this PR? |
Don't worry about that. That can be done at the end before merging and can be done through the GitHub web controls. What I'm asking is to undo all the unnecessary changes in the PreferencesDialog.ui file. This could be done restoring the original version and inserting the new check-button. I suppose the remaining changes are unneeded and unrelated to this pull-request. Am I wrong about it? |
|
oh, sorry I misunderstood. I have already reverted unnecessary changes to Or shall I re-deisgn in Qt Creator and compare? |
|
@mgrojo I'm really sorry. I was wrong. I tried again in Qt Creator and the changes are drastically reduced. |
|
No problem at all! It's now squashed and merged into the master branch. |
|
Thanks to the members who gave me valuable comments and reviews. 😄 |


This patch changes to give a option to users that disable 'Save Project' dialog.
This PR is related to issue #2417.
Detailed Changes
Do NOT ask 'Save Project'falseaskSaveSqlTab()Test Environment
Thank you.