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:
2015-11-11 13:52:26 +00:00
parent 10c11b9f36
commit 9f0d28440b

View File

@@ -151,10 +151,12 @@ namespace Volian.Controls.Library
}
public void TogglePlaceKeeper() // for use with shortcut keystroke <Ctrl><F7>
{
if (cbPlaceKeeper.Enabled)
cbPlaceKeeper.Checked = !cbPlaceKeeper.Checked;
}
public void TogglePlaceKeeperContAct() // for use with shortcut keystroke <Shift><Ctrl>F7>
{
if (cbPlaceKeeperCont.Enabled)
cbPlaceKeeperCont.Checked = !cbPlaceKeeperCont.Checked;
}
public void UpdatePageBreakCheckBox() // for use with shortcut keystroke <Ctrl><Enter>