There is a popup in my plugin, which is opened from the panel. Popup is QWidget.
I've used m_popup->setWindowModality(Qt::WindowModality::WindowModal); to make it modal.
It work fine on Windows, but not on Mac.
The problem is on Mac, illustrator menu became disabled and even after closeing modal popup it remains disabled. The following flag is set, so popup should be deleted.
m_popup->setAttribute(Qt::WA_DeleteOnClose);
Any idea how fix this on Mac?