committed by
Kacper Donat
parent
2c7ee9b8ed
commit
ecf02b7878
@@ -313,7 +313,7 @@ void ProgressDialog::onCancel()
|
||||
bool ProgressDialog::canAbort() const
|
||||
{
|
||||
auto ret = QMessageBox::question(getMainWindow(),tr("Aborting"),
|
||||
tr("Do you really want to abort the operation?"), QMessageBox::Yes | QMessageBox::No,
|
||||
tr("Abort the operation?"), QMessageBox::Yes | QMessageBox::No,
|
||||
QMessageBox::No);
|
||||
|
||||
return (ret == QMessageBox::Yes) ? true : false;
|
||||
|
||||
Reference in New Issue
Block a user