Call close_current on tabs

issue10865
review383331002
(grafted from fc57ac24d2a6207495a16b107aeacd7cbef026a5)

--HG--
branch : 6.0
This commit is contained in:
Cédric Krier committed 2021-10-21 00:22:12 +02:00
1 parent 043d744898
commit 7d153ce9c7
1 file changed
+1 -1
+1 -1
View File
@@ -2026,7 +2026,7 @@
} else if (action == 'previous') {
this.display_previous();
} else if (action == 'close') {
Sao.Tab.close_current();
Sao.Tab.tabs.close_current();
} else if (action.startsWith('switch')) {
this.switch_view.apply(this, action.split(' ', 3).slice(1));
} else if (action == 'reload') {