This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 156555

Summary: "Remove" button is still enabled after unselecting of a record
Product: db Reporter: Roman Mostyka <romanmostyka>
Component: Show DataAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED FIXED    
Severity: blocker Keywords: NETFIX
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: proposed patch (the logic to detect if a selection is present was wrong)

Description Roman Mostyka 2009-01-10 21:11:16 UTC
1. Connect to some DB.
2. Rightclick some of it's table and choose "View Data".
3. Press "Insert Record(s)" button, enter several records.
4. Select some record. "Remove" button becomes enabled.
5. Unselect some record.

Result: "Remove" button is still enabled. Nothing happens when this button is pressed.
Comment 1 Jiri Rechtacek 2009-07-01 07:57:02 UTC
Reassigned to new owner.
Comment 2 matthias42 2013-01-11 20:24:57 UTC
Created attachment 130123 [details]
proposed patch (the logic to detect if a selection is present was wrong)
Comment 3 Jaroslav Havlin 2013-01-30 12:53:25 UTC
Integrated as http://hg.netbeans.org/core-main/rev/1e7705050005
Thank you, Matthias!
Comment 4 Quality Engineering 2013-01-31 03:13:51 UTC
Integrated into 'main-golden', will be available in build *201301310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1e7705050005
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #156555: "Remove" button is still enabled after unselecting of a record