Checked if the Placekeeper and Placekeeper Cont Action buttons are enabled before toggling them on/off with the shortcut keystrokes
This commit is contained in:
@@ -151,10 +151,12 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
public void TogglePlaceKeeper() // for use with shortcut keystroke <Ctrl><F7>
|
public void TogglePlaceKeeper() // for use with shortcut keystroke <Ctrl><F7>
|
||||||
{
|
{
|
||||||
|
if (cbPlaceKeeper.Enabled)
|
||||||
cbPlaceKeeper.Checked = !cbPlaceKeeper.Checked;
|
cbPlaceKeeper.Checked = !cbPlaceKeeper.Checked;
|
||||||
}
|
}
|
||||||
public void TogglePlaceKeeperContAct() // for use with shortcut keystroke <Shift><Ctrl>F7>
|
public void TogglePlaceKeeperContAct() // for use with shortcut keystroke <Shift><Ctrl>F7>
|
||||||
{
|
{
|
||||||
|
if (cbPlaceKeeperCont.Enabled)
|
||||||
cbPlaceKeeperCont.Checked = !cbPlaceKeeperCont.Checked;
|
cbPlaceKeeperCont.Checked = !cbPlaceKeeperCont.Checked;
|
||||||
}
|
}
|
||||||
public void UpdatePageBreakCheckBox() // for use with shortcut keystroke <Ctrl><Enter>
|
public void UpdatePageBreakCheckBox() // for use with shortcut keystroke <Ctrl><Enter>
|
||||||
|
Reference in New Issue
Block a user