Reparent the Stamps dialog to the calling widget.

This commit is contained in:
Saleem Edah-Tally
2025-07-14 13:23:52 +02:00
parent b1f4f2d15f
commit 4f64fdc7d5

View File

@@ -474,7 +474,7 @@ void XInsaneWidget::OnBtnScanRightClick ( wxMouseEvent& evt )
if (!m_dlgStampWidgets)
{
m_dlgStampWidgets = std::make_unique<wxDialog>
(nullptr, wxID_ANY, _("Stamps"),
(this, wxID_ANY, _("Stamps"),
wxDefaultPosition, wxDefaultSize,
wxCAPTION | wxRESIZE_BORDER | wxCLOSE_BOX);
m_dlgStampWidgets->SetSize(600, 500);