Fix "Implicit" typos

This commit is contained in:
manongjohn 2022-01-09 21:32:26 -05:00
parent 131e34e320
commit dfd9f25423
4 changed files with 6 additions and 6 deletions

View file

@ -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>

View file

@ -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

View file

@ -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")},

View file

@ -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;