mirror of https://gitlab.com/basile.b/dexed.git
page control, disable splitBtn when no page
This commit is contained in:
parent
a850d00d27
commit
d64d300fff
|
|
@ -550,6 +550,7 @@ begin
|
|||
fCloseBtn.Visible:= pbMoveRight in fButtons;
|
||||
fAddBtn.Visible:= pbAdd in fButtons;
|
||||
fSplitBtn.Visible:= pbSplit in fButtons;
|
||||
fSplitBtn.Enabled:= fPages.Count > 0;
|
||||
fHeader.EnableAlign;
|
||||
fCloseBtn.Enabled := fPageIndex <> -1;
|
||||
fMoveLeftBtn.Enabled := fPageIndex > 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue