Skip to content

Commit

Permalink
Merge from 3.x: PR #7462
Browse files Browse the repository at this point in the history
Fixes #7404
  • Loading branch information
ccordoba12 committed Jul 16, 2018
2 parents 5bd22d5 + e86db99 commit 30cd0f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions spyder/widgets/ipythonconsole/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ def reset_namespace(self, warning=False, silent=True, message=False):
# Update checkbox based on user interaction
CONF.set('ipython_console', 'show_reset_namespace_warning',
not box.is_checked())
self.ipyclient.reset_warning = not box.is_checked()

if answer != QMessageBox.Yes:
return
Expand Down
2 changes: 1 addition & 1 deletion spyder/widgets/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from qtpy.compat import getsavefilename
from qtpy.QtCore import Property, QCoreApplication, Qt, QTimer, Signal, Slot
from qtpy.QtGui import QKeySequence, QTextCharFormat, QTextCursor
from qtpy.QtWidgets import QApplication, QMenu, QMessageBox, QToolTip
from qtpy.QtWidgets import QApplication, QMenu, QToolTip

# Local import
from spyder.config.base import _, DEBUG, get_conf_path, STDERR
Expand Down

0 comments on commit 30cd0f3

Please sign in to comment.