Format fixes
This commit is contained in:
parent
b23d7a8772
commit
78409b8a5e
@ -208,7 +208,7 @@ class MainWindow(QtGui.QMainWindow):
|
|||||||
self.toolbar.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
|
self.toolbar.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
|
||||||
self.menu.customContextMenuRequested.connect(self._menu_context)
|
self.menu.customContextMenuRequested.connect(self._menu_context)
|
||||||
self.toolbar.customContextMenuRequested.connect(self._menu_context)
|
self.toolbar.customContextMenuRequested.connect(self._menu_context)
|
||||||
|
|
||||||
self.buffers[0].widget.input.setFocus()
|
self.buffers[0].widget.input.setFocus()
|
||||||
|
|
||||||
# open debug dialog
|
# open debug dialog
|
||||||
@ -275,7 +275,7 @@ class MainWindow(QtGui.QMainWindow):
|
|||||||
menu.addActions([self.actions['show menubar'],
|
menu.addActions([self.actions['show menubar'],
|
||||||
self.actions['show toolbar'],
|
self.actions['show toolbar'],
|
||||||
self.actions['show status bar']])
|
self.actions['show status bar']])
|
||||||
action = menu.exec_(self.mapToGlobal(event))
|
menu.exec_(self.mapToGlobal(event))
|
||||||
|
|
||||||
def _buffer_switch(self, index):
|
def _buffer_switch(self, index):
|
||||||
"""Switch to a buffer."""
|
"""Switch to a buffer."""
|
||||||
|
Loading…
Reference in New Issue
Block a user