Skip to content

Commit cc4d53c

Browse files
committed
Fix typo, minor formatting change.
1 parent f9cf2e8 commit cc4d53c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Source/Menu/MainForm.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,12 +1343,14 @@ void UpdateFromMenuSelection<T>(ComboBox comboBox, UserSettings.Menu_SelectionIn
13431343
string value = GetValueFromMenuSelection(index);
13441344
if (!string.IsNullOrEmpty(value))
13451345
{
1346-
if (comboBox.DropDownStyle == ComboBoxStyle.DropDown) { comboBox.Text = value; }
1347-
else { SelectComboBoxItem<T>(comboBox, item => map(item) == value); }
1346+
if (comboBox.DropDownStyle == ComboBoxStyle.DropDown)
1347+
comboBox.Text = value;
1348+
else
1349+
SelectComboBoxItem<T>(comboBox, item => map(item) == value);
13481350
}
13491351
else
13501352
{
1351-
// when explore in activit mode, try the content route info
1353+
// when explore-in-activity mode, try the content route info
13521354
var routes = Settings.Content.ContentRouteSettings.Routes;
13531355
if ((SelectedActivity != null && SelectedActivity is ExploreThroughActivity) &&
13541356
(SelectedFolder != null && routes.ContainsKey(SelectedFolder.Name) && routes[SelectedFolder.Name].Installed) &&

0 commit comments

Comments
 (0)