mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-14 09:57:31 -04:00
trying fixing tab open when second index selected and deleting first
This commit is contained in:
parent
b93288278e
commit
aebb484c0a
@ -599,7 +599,7 @@ public class KiwixMobileActivity extends AppCompatActivity {
|
||||
.setAction("Undo", new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (mWebViews.size() == 1) {
|
||||
if (mWebViews.size() == 1 && (mCurrentWebViewIndex == index)) {
|
||||
openArticleFromBookmark(tempForUndo.getTitle());
|
||||
} else {
|
||||
restoreTabAtIndex(tempForUndo.getUrl(), index);
|
||||
|
Loading…
x
Reference in New Issue
Block a user