summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonutils.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2021-05-11 13:48:54 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2021-05-12 11:31:56 +0000
commit671b71406b61d52952cb02e3c4eda7f3a0a748ba (patch)
tree2d2d1926636f67240894793b0c02a53900ff07e3 /src/plugins/python/pythonutils.cpp
parent9f33f76a9723b615b6176695796dc87f845ba03d (diff)
downloadqt-creator-671b71406b61d52952cb02e3c4eda7f3a0a748ba.tar.gz
Fix a crash in Find Usages
Set the current index of SearchResultWindow to a valid one _before_ deleting the last SerachResultWidget inside the m_widget QStackedWidget, as this triggers the call to updateFilterButton() which uses in turn the current index of SearchResultWindow (out or range in case it's not adjusted beforehand). Fixes: QTCREATORBUG-25713 Change-Id: Ie155c5f9bacee8d647e4fa7f622ff403192cb6bc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
0 files changed, 0 insertions, 0 deletions