Fixed bug with reopening old tab

This commit is contained in:
Anthony Restaino 2014-08-19 20:06:35 -04:00
parent ff56ca1d31
commit d589061c94

View File

@ -404,8 +404,8 @@ public class BrowserActivity extends Activity implements BrowserController {
newTab(url, true);
Toast.makeText(mContext, R.string.deleted_tab, Toast.LENGTH_SHORT).show();
}
mEditPrefs.putString(PreferenceConstants.SAVE_URL, null);
return false;
mEditPrefs.putString(PreferenceConstants.SAVE_URL, null).apply();
return true;
}
});