From 9ef399d18fa7994edbecdd512e2a5029d72ccb70 Mon Sep 17 00:00:00 2001 From: Eran Ifrah Date: Wed, 15 May 2024 08:42:04 +0300 Subject: [PATCH] Navigation control (Ctrl-Tab popup window) is now centered on CodeLite, regardless of its parent book --- LiteEditor/frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LiteEditor/frame.cpp b/LiteEditor/frame.cpp index 75c3bd778a..34a0f79f2b 100644 --- a/LiteEditor/frame.cpp +++ b/LiteEditor/frame.cpp @@ -5937,7 +5937,7 @@ void ShowNavDialog(Notebook* book) return; } - NotebookNavigationDlg dlg(book->GetParent(), book); + NotebookNavigationDlg dlg(EventNotifier::Get()->TopFrame(), book); if (dlg.ShowModal() == wxID_OK && dlg.GetSelection() != wxNOT_FOUND) { book->SetSelection(dlg.GetSelection()); }