Export JPEG and Canvas Size take the app's colour picker; a panel opens over a modal sheet (13.4a)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 07:16:16 -04:00
1 parent 0b7eb6cb6f
commit bc49b722eb
23 files changed
+470 -134

No files matched your search

+5 -1
View File
@@ -65,8 +65,12 @@ void FloatingPanel::show(const QString &title, QWidget *content, QWidget *dock)
showDocked(title, content, *dock);
return;
}
// A modal sheet blocks its window's panels, not its own.
QWidget *parent = QApplication::activeModalWidget() ? QApplication::activeModalWidget() : m_owner.window();
if (m_panel && m_panel->parentWidget() != parent)
m_panel->setParent(parent, m_panel->windowFlags());
if (!m_panel) {
m_panel = new PanelWindow(*this, m_owner.window());
m_panel = new PanelWindow(*this, parent);
m_panel->setObjectName(m_name);
}
const bool wasVisible = m_panel->isVisible();