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

Add close all/others/... in Database Tab menu #491

Merged
merged 9 commits into from
Dec 9, 2015
Merged

Conversation

stefan-kolb
Copy link
Member

See #314

@stefan-kolb stefan-kolb added this to the v3.1 milestone Dec 9, 2015
@stefan-kolb stefan-kolb added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Dec 9, 2015
markActiveBasePanel();
}
setWindowTitle();
updateEnabledState(); // FIXME: Man, this is what I call a bug that this is not called.
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice FIXME. Any idea what this could mean here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, I forgot what it meant 😄

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe it is even fixed by calling this method and I added the FIXME because we must make sure that this is called every time we remove something, i don't know...

@simonharrer
Copy link
Contributor

Changelog is missing. Otherwise 👍

@@ -2337,4 +2282,104 @@ private int showSaveDialog(String filename) {
Localization.lang("Save before closing"), JOptionPane.YES_NO_CANCEL_OPTION,
JOptionPane.WARNING_MESSAGE, null, options, options[2]);
}

private void closeTab(BasePanel panel) {
// TODO: this menu should be tab based not on the DragDropPopupPane
Copy link
Contributor

Choose a reason for hiding this comment

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

what about this TODO?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can be removed as this doesn't work with our current impl.

simonharrer added a commit that referenced this pull request Dec 9, 2015
Add close all/others/... in Database Tab menu
@simonharrer simonharrer merged commit 88bae85 into master Dec 9, 2015
@stefan-kolb stefan-kolb deleted the close-actions branch December 9, 2015 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants