mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
[pyqgis-console] just shows the context menu on tabs (does not on tabbar)
This commit is contained in:
parent
eb47ff5d8a
commit
471dab184a
@ -790,6 +790,7 @@ class EditorTabWidget(QTabWidget):
|
||||
def contextMenuEvent(self, e):
|
||||
tabBar = self.tabBar()
|
||||
self.idx = tabBar.tabAt(e.pos())
|
||||
if self.widget(self.idx):
|
||||
cW = self.currentWidget()
|
||||
menu = QMenu(self)
|
||||
menu.addSeparator()
|
||||
|
Loading…
x
Reference in New Issue
Block a user