mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 11:10:16 +02:00
POChecker: don't hide 'Open file in external editor' menuitem in Graphical Statistics form if external editor is not defined, just disable it (so user can know about this function at all)
git-svn-id: trunk@52514 -
This commit is contained in:
parent
50f4d45c3a
commit
991df2faf8
@ -109,6 +109,7 @@ object GraphStatForm: TGraphStatForm
|
||||
end
|
||||
object ExtEditorMenuItem: TMenuItem
|
||||
Caption = 'Open file in external editor'
|
||||
Enabled = False
|
||||
Visible = False
|
||||
OnClick = ExtEditorMenuItemClick
|
||||
end
|
||||
|
@ -242,8 +242,9 @@ begin
|
||||
Separator1MenuItem.Visible := AdvancedMode;
|
||||
//ExtEditorMenuItem and IDEEditorMenuItem are invisible by default
|
||||
{$ifdef pocheckerstandalone}
|
||||
ExtEditorMenuItem.Visible := AdvancedMode;
|
||||
if Settings.ExternalEditorName <> '' then
|
||||
ExtEditorMenuItem.Visible := AdvancedMode;
|
||||
ExtEditorMenuItem.Enabled := true;
|
||||
{$else}
|
||||
IDEEditorMenuItem.Visible := AdvancedMode;
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user