Skip to content

Commit

Permalink
Merge pull request #2702 from goanpeca/fix/move-panes
Browse files Browse the repository at this point in the history
Fix tabbar issue in OSX
  • Loading branch information
ccordoba12 committed Sep 28, 2015
2 parents b1b31b4 + 6fce79e commit 0e8fb0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spyderlib/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def eventFilter(self, obj, event):
def tab_pressed(self, event):
"""Method called when a tab from a QTabBar has been pressed."""
self.from_index = self.dock_tabbar.tabAt(event.pos())
self.dock_tabbar.setCurrentIndex(self.from_index)

if event.button() == Qt.RightButton:
if self.from_index == -1:
Expand Down

0 comments on commit 0e8fb0d

Please sign in to comment.