Skip to content

Commit

Permalink
Fix:Do not split when closing from the menu
Browse files Browse the repository at this point in the history
While on horizontal split, when the user chooses to close the split
from the tab menu, a vertical split no longer opens.
  • Loading branch information
Mariano Casco committed Mar 4, 2012
1 parent 70bea4f commit d323f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ninja_ide/gui/main_panel/tab_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def mousePressEvent(self, event):
lambda: self._parent.move_tab_to_next_split(self))
self.connect(actionCloseSplit, SIGNAL("triggered()"),
lambda: self._parent.split_tab(
self._parent.orientation()))
self._parent.orientation() == Qt.Horizontal))
else:
actionSplitH = menu.addAction(
self.tr("Split this Tab (Horizontally)"))
Expand Down

0 comments on commit d323f7a

Please sign in to comment.