Browse Source

Fixed bug with reopening old tab

master
Anthony Restaino 10 years ago
parent
commit
d589061c94
  1. 4
      src/acr/browser/lightning/BrowserActivity.java

4
src/acr/browser/lightning/BrowserActivity.java

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

Loading…
Cancel
Save