Really fix tabclose

This commit is contained in:
Florian Bruhin 2014-05-18 08:18:20 +02:00
parent e1d44278ae
commit 869c0d82e1

View File

@ -149,7 +149,7 @@ class CommandDispatcher(QObject):
tab = self._tabs.cntwidget(count) tab = self._tabs.cntwidget(count)
if tab is None: if tab is None:
return return
self._tabs._close_tab(tab) self._tabs.close_tab(tab)
@cmdutils.register(instance='mainwindow.tabs.cmd', name='open', @cmdutils.register(instance='mainwindow.tabs.cmd', name='open',
split=False) split=False)