Skip to content

Commit a9316c7

Browse files
committed
Use ContentRoute settings only for Explore in Activity Mode.
1 parent 606e6bd commit a9316c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Source/Menu/MainForm.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,11 +1356,13 @@ void UpdateFromMenuSelection<T>(ComboBox comboBox, UserSettings.Menu_SelectionIn
13561356
else
13571357
{
13581358
// if selected folder is in the content routes setting and has a start route
1359+
// and the selected activity is explore in activit mode
13591360
var routes = Settings.Content.ContentRouteSettings.Routes;
13601361
if ((SelectedFolder != null) &&
13611362
routes.ContainsKey(SelectedFolder.Name) &&
13621363
routes[SelectedFolder.Name].Installed &&
1363-
!string.IsNullOrEmpty(routes[SelectedFolder.Name].Start.Route))
1364+
!string.IsNullOrEmpty(routes[SelectedFolder.Name].Start.Route) &&
1365+
SelectedActivity != null && SelectedActivity is ExploreThroughActivity)
13641366
{
13651367
var route = routes[SelectedFolder.Name];
13661368
string valueComboboxToSetTo = "";

0 commit comments

Comments
 (0)