NOISSUE instance export filter should use covers, not contains
This commit is contained in:
parent
8a1da91219
commit
2973b11d3e
@ -407,7 +407,7 @@ bool ExportInstanceDialog::doExport()
|
|||||||
|
|
||||||
auto & blocked = proxyModel->blockedPaths();
|
auto & blocked = proxyModel->blockedPaths();
|
||||||
using std::placeholders::_1;
|
using std::placeholders::_1;
|
||||||
if (!JlCompress::compressDir(output, m_instance->instanceRoot(), name, std::bind(&SeparatorPrefixTree<'/'>::contains, blocked, _1)))
|
if (!JlCompress::compressDir(output, m_instance->instanceRoot(), name, std::bind(&SeparatorPrefixTree<'/'>::covers, blocked, _1)))
|
||||||
{
|
{
|
||||||
QMessageBox::warning(this, tr("Error"), tr("Unable to export instance"));
|
QMessageBox::warning(this, tr("Error"), tr("Unable to export instance"));
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user