Prevent search prompt from being saved as a filter
Normalisation would render it useless.
This commit is contained in:
parent
99cb68513c
commit
1635f20af3
@ -1038,7 +1038,7 @@ QTableView {{ gridline-color: {grid} }}
|
||||
|
||||
if self._currentFilterIsSaved():
|
||||
ml.addItem(tr(TR.BROWSING_REMOVE_CURRENT_FILTER), self._onRemoveFilter)
|
||||
else:
|
||||
elif self._searchPrompt != self.form.searchEdit.lineEdit().text():
|
||||
ml.addItem(tr(TR.BROWSING_SAVE_CURRENT_FILTER), self._onSaveFilter)
|
||||
|
||||
return ml
|
||||
|
Loading…
Reference in New Issue
Block a user