ClearCase: Fix: Cancel when renaming managed file

ccFileOp returned true even if the user pressed "cancel". This
resulted in the DocumentManager being incorrectly notified that
the file was renamed.

Change-Id: I000c28204083c2e52de9bffb66611acb710be1cd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Knut Petter Svendsen
2013-11-22 09:03:39 +01:00
committed by Orgad Shaneh
parent 38583c79a2
commit 19a780668e

View File

@@ -1638,7 +1638,7 @@ bool ClearCasePlugin::ccFileOp(const QString &workingDir, const QString &title,
connect(buttonBox, SIGNAL(rejected()), &fileOpDlg, SLOT(reject()));
if (!fileOpDlg.exec())
return true;
return false;
QString comment = commentEdit->toPlainText();
if (m_viewData.isUcm && actSelector->changed())