You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mappart_add_act = newAction("addmappart", tr("Add new part..."), this, SLOT(addMapPart()));
1100
1100
mappart_rename_act = newAction("renamemappart", tr("Rename current part..."), this, SLOT(renameMapPart()));
1101
1101
mappart_remove_act = newAction("removemappart", tr("Remove current part"), this, SLOT(removeMapPart()));
1102
-
mappart_visibility_act = newAction("visibilitymappart", tr("Hide current part"), this, SLOT(switchVisibilityMapPart()));// exact text doesn't matter since replaced in updateMapPartsUI() below, so use something that is already in use
1102
+
mappart_visibility_act = newAction("visibilitymappart", {/* set in updateMapPartsUI() */} , this, SLOT(toggleMapPartVisible()));
1103
1103
mappart_merge_act = newAction("mergemapparts", tr("Merge all parts"), this, SLOT(mergeAllMapParts()));
0 commit comments