Commit 19a78066 authored by Knut Petter Svendsen's avatar Knut Petter Svendsen Committed by Orgad Shaneh

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's avatarOrgad Shaneh <orgads@gmail.com>
parent 38583c79
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment