From d589061c946909a90be9f6813f5c2b410b3a5944 Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Tue, 19 Aug 2014 20:06:35 -0400 Subject: [PATCH] Fixed bug with reopening old tab --- src/acr/browser/lightning/BrowserActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acr/browser/lightning/BrowserActivity.java b/src/acr/browser/lightning/BrowserActivity.java index c2b8ff2..b556726 100644 --- a/src/acr/browser/lightning/BrowserActivity.java +++ b/src/acr/browser/lightning/BrowserActivity.java @@ -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; } });