diff --git a/src/libs/utils/pathchooser.cpp b/src/libs/utils/pathchooser.cpp index c103c4b04aa2a8d92273830b70989e55fd69fd1f..9b28e2c36a050b6fb07a81ac275766b911083a16 100644 --- a/src/libs/utils/pathchooser.cpp +++ b/src/libs/utils/pathchooser.cpp @@ -490,7 +490,10 @@ QString PathChooser::homePath() void PathChooser::setExpectedKind(Kind expected) { + if (m_d->m_acceptingKind == expected) + return; m_d->m_acceptingKind = expected; + m_d->m_lineEdit->triggerChanged(); } PathChooser::Kind PathChooser::expectedKind() const