Plugins/ViewManagerPlugins/Tabview/Tabview.py

changeset 6072
059c8f981ef4
parent 6055
ab7128b76524
child 6097
bf18415da0c7
child 6102
a5b9f6a38faf
--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Thu Jan 18 11:10:57 2018 +0100
+++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py	Thu Jan 18 18:57:40 2018 +0100
@@ -11,8 +11,8 @@
 
 import os
 
-from PyQt5.QtCore import QPoint, QFileInfo, pyqtSignal, QEvent, QByteArray, \
-    QMimeData, Qt, QSize
+from PyQt5.QtCore import pyqtSlot, QPoint, QFileInfo, pyqtSignal, QEvent, \
+    QByteArray, QMimeData, Qt, QSize
 from PyQt5.QtGui import QColor, QDrag, QPixmap
 from PyQt5.QtWidgets import QWidget, QHBoxLayout, QSplitter, QTabBar, \
     QApplication, QToolButton, QMenu, QLabel
@@ -1165,6 +1165,7 @@
         self.nextSplitAct.setEnabled(True)
         self.prevSplitAct.setEnabled(True)
         
+    @pyqtSlot()
     def removeSplit(self, index=-1):
         """
         Public method used to remove the current split view or a split view

eric ide

mercurial