Set automatic via else block

This commit is contained in:
Kevin Sawicki 2017-03-10 10:11:10 -08:00
parent 3349e32196
commit 5b1d5b39a2

View file

@ -426,9 +426,7 @@ static NSTouchBarItemIdentifier SegmentedControlIdentifier = @"com.electron.touc
std::string segmentStyle;
settings.Get("segmentStyle", &segmentStyle);
if (segmentStyle == "automatic")
control.segmentStyle = NSSegmentStyleAutomatic;
else if (segmentStyle == "rounded")
if (segmentStyle == "rounded")
control.segmentStyle = NSSegmentStyleRounded;
else if (segmentStyle == "textured-rounded")
control.segmentStyle = NSSegmentStyleTexturedRounded;