mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 04:36:31 +02:00
ide: source editor: don't replace notebook menu with sourcemenu if notebook can show own popupmenu (mostly for gtk, gtk2)
git-svn-id: trunk@20113 -
This commit is contained in:
parent
b7c121c677
commit
08eafcbdfa
@ -4061,7 +4061,8 @@ Begin
|
||||
else
|
||||
Pages.Add('unit1');
|
||||
PageIndex := 0; // Set it to the first page
|
||||
PopupMenu := SrcPopupMenu;
|
||||
if not (nbcPageListPopup in GetCapabilities) then
|
||||
PopupMenu := SrcPopupMenu;
|
||||
if EditorOpts.ShowTabCloseButtons then
|
||||
Options:=Options+[nboShowCloseButtons]
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user