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,11 +151,13 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
public void TogglePlaceKeeper() // for use with shortcut keystroke <Ctrl><F7>
|
||||
{
|
||||
cbPlaceKeeper.Checked = !cbPlaceKeeper.Checked;
|
||||
if (cbPlaceKeeper.Enabled)
|
||||
cbPlaceKeeper.Checked = !cbPlaceKeeper.Checked;
|
||||
}
|
||||
public void TogglePlaceKeeperContAct() // for use with shortcut keystroke <Shift><Ctrl>F7>
|
||||
{
|
||||
cbPlaceKeeperCont.Checked = !cbPlaceKeeperCont.Checked;
|
||||
if (cbPlaceKeeperCont.Enabled)
|
||||
cbPlaceKeeperCont.Checked = !cbPlaceKeeperCont.Checked;
|
||||
}
|
||||
public void UpdatePageBreakCheckBox() // for use with shortcut keystroke <Ctrl><Enter>
|
||||
{
|
||||
|
Reference in New Issue
Block a user