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.
1. Execute some statements. 2. Open "SQL History" dialog. 3. Click "Insert" button. Result: Semicolon is inserted. If there is no selected statement, then "Insert" button should be disabled.
not a P2, lowering
e44111e47a83
That's odd. I committed a fix e44111e47a83 and checked the changesets that are to be pushed e44111e47a83 was to be included, then pushed, but apparently, this changeset wasn't pushed.
remembered to push- should be fixed (in the trunk)
Integrated into 'main-golden', available in build *200808060201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/e44111e47a83 User: John Baker <jbaker@netbeans.org> Log: #139125 SQL History: Insert button should be disabled if no statement is selected`
I'm still able to reproduce this issue with build 080807. And I see changes from the changeset. Probably the fix was broken by the fix of another issue.
yes, you're right, I had only made sure the button was disabled if no SQL has been saved
a7170dc68719
Verified with build 080808.
Integrated into 'main-golden', available in build *200808081401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/a7170dc68719 User: John Baker <jbaker@netbeans.org> Log: #139125 SQL History: Insert button should be disabled if no statement is selected