diff --git a/src/net/i2p/android/router/netdb/NetDbActivity.java b/src/net/i2p/android/router/netdb/NetDbActivity.java index e7c7d1be8757abf71d802e9abdcb0021699e309c..2edde5fbadfa22e44e82058c5889938a141efefd 100644 --- a/src/net/i2p/android/router/netdb/NetDbActivity.java +++ b/src/net/i2p/android/router/netdb/NetDbActivity.java @@ -116,6 +116,11 @@ public class NetDbActivity extends I2PActivityBase implements isRouterInfo, entryHash); getSupportFragmentManager().beginTransaction() .replace(R.id.detail_fragment, detailFrag).commit(); + + // If we are coming from a LS to a RI, change the tab + int currentTab = getSupportActionBar().getSelectedNavigationIndex(); + if (isRouterInfo && currentTab !=1) + getSupportActionBar().setSelectedNavigationItem(1); } else { // In single-pane mode, simply start the detail activity // for the selected item ID.