set currentPane to home if home button is pressed

This commit is contained in:
Philipp Schaefer
2013-05-25 16:05:29 +02:00
parent 37dac3b197
commit 5311fb1641

View File

@ -318,6 +318,7 @@ public class IITC_Mobile extends Activity {
actionBar.setTitle(getString(R.string.app_name)); actionBar.setTitle(getString(R.string.app_name));
this.backStack.clear(); this.backStack.clear();
setActionBarHomeEnabledWithUp(false); setActionBarHomeEnabledWithUp(false);
currentPane = android.R.id.home;
return true; return true;
case R.id.reload_button: case R.id.reload_button:
actionBar.setTitle(getString(R.string.app_name)); actionBar.setTitle(getString(R.string.app_name));