Skip to content

Commit

Permalink
Merge from 3.x: PR #4928
Browse files Browse the repository at this point in the history
Fixes #4922
  • Loading branch information
ccordoba12 committed Aug 10, 2017
2 parents 4cfb56b + de1d6ac commit bdc8eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spyder/widgets/comboboxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def selected(self):

def validate(self, qstr, editing=True):
"""Validate entered path"""
if self.selected_text == qstr:
if self.selected_text == qstr and qstr != '':
self.valid.emit(True, True)
return

Expand Down

0 comments on commit bdc8eea

Please sign in to comment.