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:
paul 2009-05-22 02:50:24 +00:00
parent b7c121c677
commit 08eafcbdfa

View File

@ -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