forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
38583c79a2
commit
19a780668e
@@ -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())
|
||||
|
Reference in New Issue
Block a user