mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-21 00:39:10 +02:00
IDE/Options: Hide the panel of conflict shortcuts if they are absent. Merge request !435.
This commit is contained in:
parent
42eb6a4a4d
commit
a5bf264276
@ -217,6 +217,7 @@ object EditorKeymappingOptionsFrame: TEditorKeymappingOptionsFrame
|
|||||||
Width = 459
|
Width = 459
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
ResizeAnchor = akBottom
|
ResizeAnchor = akBottom
|
||||||
|
Visible = False
|
||||||
OnMoved = KeyMapSplitterMoved
|
OnMoved = KeyMapSplitterMoved
|
||||||
end
|
end
|
||||||
object ConflictsTreeView: TTreeView
|
object ConflictsTreeView: TTreeView
|
||||||
@ -232,6 +233,7 @@ object EditorKeymappingOptionsFrame: TEditorKeymappingOptionsFrame
|
|||||||
RowSelect = True
|
RowSelect = True
|
||||||
ScrollBars = ssAutoBoth
|
ScrollBars = ssAutoBoth
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
|
Visible = False
|
||||||
Options = [tvoAutoItemHeight, tvoHideSelection, tvoKeepCollapsedNodes, tvoReadOnly, tvoRightClickSelect, tvoRowSelect, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips, tvoThemedDraw]
|
Options = [tvoAutoItemHeight, tvoHideSelection, tvoKeepCollapsedNodes, tvoReadOnly, tvoRightClickSelect, tvoRowSelect, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips, tvoThemedDraw]
|
||||||
OnMouseDown = ConflictsTreeViewMouseDown
|
OnMouseDown = ConflictsTreeViewMouseDown
|
||||||
end
|
end
|
||||||
|
@ -709,8 +709,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if ConflictsTreeView.Items.Count=0 then
|
ConflictsTreeView.Visible:=ConflictsTreeView.Items.Count<>0;
|
||||||
ConflictsTreeView.Items.Add(nil, lisThereAreNoConflictingKeys);
|
KeyMapSplitter.Visible:=ConflictsTreeView.Visible;
|
||||||
|
|
||||||
ConflictsTreeView.EndUpdate;
|
ConflictsTreeView.EndUpdate;
|
||||||
end;
|
end;
|
||||||
|
@ -3009,7 +3009,6 @@ resourcestring
|
|||||||
+'%s%sRemove the old assignment and assign the key to the new function %s?';
|
+'%s%sRemove the old assignment and assign the key to the new function %s?';
|
||||||
lisAlternativeKeyOr2KeySequence = 'Alternative key (or 2 key sequence)';
|
lisAlternativeKeyOr2KeySequence = 'Alternative key (or 2 key sequence)';
|
||||||
srkmConflic = 'Conflict ';
|
srkmConflic = 'Conflict ';
|
||||||
lisThereAreNoConflictingKeys = 'There are no conflicting keys.';
|
|
||||||
srkmEditForCmd = 'Edit keys of command';
|
srkmEditForCmd = 'Edit keys of command';
|
||||||
lisChooseAKey = 'Choose a key ...';
|
lisChooseAKey = 'Choose a key ...';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user