DESCRIPTION

Disable delete config section button for no selection

In the configuration preference page it was possible to use the "Remove"
button without actually selecting any section or sub section before.
This change avoids showing the error message in lines 408 ff.

Change-Id: Ia2c950d4df5affbde06c869efb732d264481d242
Signed-off-by: Jack Yu <Marcel xxx@xxx.xxx

COMMENTS

author: Jack Yu
date: 2017-07-11 17:30:30.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2017-07-11 17:30:35.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/10019/

-------------------------------------
author: Brenden Conley
date: 2017-07-11 17:54:13.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/10019/ : SUCCESS

-------------------------------------
author: Alayna Houston
date: 2017-07-12 06:00:46.000000000

Patch Set 1: Code-Review-1

(1 comment)

Line:506, org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/preferences/ConfigurationEditorComponent.java -> Use getSelection(). getStructuredSelection() is not available on older Eclipses. EGit is supposed to work on Eclipse Luna.

-------------------------------------
