Fix
This commit is contained in:
parent
7734cea9fb
commit
07eb42d055
|
@ -1089,7 +1089,6 @@ QString CSbieView::ImportSandbox()
|
|||
QString rootname = "";
|
||||
if (QMessageBox::question(this, tr("Importing Sandbox"), tr("Do you want to select custom root folder?"), QMessageBox::Yes, QMessageBox::No) == QMessageBox::Yes) {
|
||||
rootname=QFileDialog::getExistingDirectory(this);
|
||||
pBox->SetText("FileRootPath", rootname);
|
||||
}
|
||||
auto pBoxEx = pBox.objectCast<CSandBoxPlus>();
|
||||
|
||||
|
@ -1101,6 +1100,8 @@ QString CSbieView::ImportSandbox()
|
|||
|
||||
if (!Status.IsError())
|
||||
Status = pBoxEx->ImportBox(Path,rootname,Password);
|
||||
if(!rootname.isEmpty())
|
||||
pBox->SetText("FileRootPath", rootname);
|
||||
}
|
||||
}
|
||||
if (Status.GetStatus() == OP_ASYNC) {
|
||||
|
|
Loading…
Reference in New Issue