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

Disable delete action if a well field is selected #3692

Merged
merged 2 commits into from
Apr 13, 2015

Conversation

dominikl
Copy link
Member

@dominikl dominikl commented Apr 6, 2015

Fixes ticket: https://trac.openmicroscopy.org/ome/ticket/12795

Test:
Select a well and make sure the "Delete" action is disabled, in the context menu as well as in the "Screens" toolbar. Check that the action is enabled otherwise, e. g. if the Run or the Plate is selected.

--no-rebase

@gusferguson
Copy link

@dominikl

Tested using OMERO.insight-5.1.0-160-e43dd1d-ice34-b464-mac_Java7+ user-3 read-only-1.

Behaves as expected.
Good to merge.

@jburel jburel added the develop label Apr 7, 2015
@jburel
Copy link
Member

jburel commented Apr 9, 2015

Delete is still available from the Data manager menu i.e. Edit>Delete

@dominikl
Copy link
Member Author

Forgot about the menu. Fixed with my last commit.
Updated test instructions:
Select a well and check that delete action is disabled in:

  • Popup menu on the selected well
  • "Screens" toolbar
  • Main "Edit" menu

Select the Plate or Run and check that the delete action is then enabled again.

@mtbc
Copy link
Member

mtbc commented Apr 13, 2015

Good to merge.

joshmoore added a commit that referenced this pull request Apr 13, 2015
Disable delete action if a well field is selected
@joshmoore joshmoore merged commit 17048cd into ome:develop Apr 13, 2015
@joshmoore joshmoore added this to the 5.1.1 milestone Apr 23, 2015
@dominikl dominikl deleted the disable_delete_on_field_selection branch May 25, 2015 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants