Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make Ctrl+0 reset font size in qt widget

  • Loading branch information...
commit 82e0db3f6d92296466e82f56826f74862498743a 1 parent 9439f7c
@mspacek authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 IPython/frontend/qt/console/console_widget.py
View
4 IPython/frontend/qt/console/console_widget.py
@@ -998,6 +998,10 @@ def _event_filter_console_keypress(self, event):
self.change_font_size(-1)
intercepted = True
+ elif key == QtCore.Qt.Key_0:
+ self.reset_font()
+ intercepted = True
+
#------ Alt modifier ---------------------------------------------------
elif alt_down:
Please sign in to comment.
Something went wrong with that request. Please try again.