Commit 8b492777 authored by Ivan Yossi's avatar Ivan Yossi 👌

Fixed exportBrush run on tests

parent d6d92299
......@@ -465,9 +465,9 @@ bool KisImportExportManager::askUserAboutExportConfiguration(
if (QThread::currentThread() == qApp->thread()) {
wdg = filter->createConfigurationWidget(0, from, to);
if(wdg) {
KisPart *kisPart = KisPart::instance();
KisViewManager *manager = kisPart->currentMainwindow()->viewManager();
KisMainWindow *kisMain = KisPart::instance()->currentMainwindow();
if(wdg && kisMain) {
KisViewManager *manager = kisMain->viewManager();
wdg->setView(manager);
}
}
......
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