feat: Improve quick refactor dialog (#165)

This commit is contained in:
Petr Mironychev
2025-04-17 10:34:31 +02:00
committed by GitHub
parent 615175bea8
commit b36d01d2c7
12 changed files with 306 additions and 11 deletions

View File

@ -352,7 +352,6 @@ void QodeAssistClient::cleanupConnections()
void QodeAssistClient::handleRefactoringResult(const RefactorResult &result)
{
m_progressHandler.hideProgress();
if (!result.success) {
LOG_MESSAGE(QString("Refactoring failed: %1").arg(result.errorMessage));
return;
@ -377,5 +376,6 @@ void QodeAssistClient::handleRefactoringResult(const RefactorResult &result)
cursor.insertText(result.newText);
cursor.endEditBlock();
m_progressHandler.hideProgress();
}
} // namespace QodeAssist