Fix "Implicit" typos
This commit is contained in:
parent
131e34e320
commit
dfd9f25423
4 changed files with 6 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
<command>MI_ToggleAutoCreate</command>
|
||||
<command>MI_ToggleCreationInHoldCells</command>
|
||||
<command>MI_ToggleAutoStretch</command>
|
||||
<command>MI_ToggleImplictHold</command>
|
||||
<command>MI_ToggleImplicitHold</command>
|
||||
<separator/>
|
||||
<command>MI_NewVectorLevel</command>
|
||||
<command>MI_NewToonzRasterLevel</command>
|
||||
|
|
|
@ -479,6 +479,6 @@
|
|||
#define MI_ToggleCreationInHoldCells "MI_ToggleCreationInHoldCells"
|
||||
#define MI_ToggleAutoStretch "MI_ToggleAutoStretch"
|
||||
|
||||
#define MI_ToggleImplicitHold "MI_ToggleImplictHold"
|
||||
#define MI_ToggleImplicitHold "MI_ToggleImplicitHold"
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1062,7 +1062,7 @@ QString PreferencesPopup::getUIString(PreferencesItemId id) {
|
|||
{EnableAutoStretch, tr("Enable Auto-stretch Frame")},
|
||||
{EnableCreationInHoldCells, tr("Enable Creation in Hold Cells")},
|
||||
{EnableAutoRenumber, tr("Enable Autorenumber")},
|
||||
{EnableImplicitHold, tr("Enable Implict Hold")},
|
||||
{EnableImplicitHold, tr("Enable Implicit Hold")},
|
||||
{vectorSnappingTarget, tr("Vector Snapping:")},
|
||||
{saveUnpaintedInCleanup,
|
||||
tr("Keep Original Cleaned Up Drawings As Backup")},
|
||||
|
|
|
@ -297,14 +297,14 @@ class ToggleImplicitHoldCommand final : public MenuItemHandler {
|
|||
public:
|
||||
ToggleImplicitHoldCommand() : MenuItemHandler(MI_ToggleImplicitHold) {}
|
||||
void execute() override {
|
||||
bool currentImplictHoldEnabled =
|
||||
bool currentImplicitHoldEnabled =
|
||||
Preferences::instance()->isImplicitHoldEnabled();
|
||||
if (CommandManager::instance()
|
||||
->getAction(MI_ToggleImplicitHold)
|
||||
->isChecked() == currentImplictHoldEnabled)
|
||||
->isChecked() == currentImplicitHoldEnabled)
|
||||
return;
|
||||
Preferences::instance()->setValue(EnableImplicitHold,
|
||||
!currentImplictHoldEnabled);
|
||||
!currentImplicitHoldEnabled);
|
||||
TApp::instance()->getCurrentXsheet()->notifyXsheetChanged();
|
||||
}
|
||||
} ToggleImplicitHoldCommand;
|
||||
|
|
Loading…
Reference in a new issue