Gui: Add shortcut for save a copy (#27966)
* added shortcut for save copy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Ctrl+Alt+Shift+S to save a copy * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Parag Debnath <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Parag Debnath
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
61418544a5
commit
230b64f2f5
@@ -791,18 +791,21 @@ bool StdCmdSaveAs::isActive()
|
||||
//===========================================================================
|
||||
DEF_STD_CMD_A(StdCmdSaveCopy)
|
||||
|
||||
|
||||
StdCmdSaveCopy::StdCmdSaveCopy()
|
||||
: Command("Std_SaveCopy")
|
||||
{
|
||||
sGroup = "File";
|
||||
sMenuText = QT_TR_NOOP("Save Cop&y");
|
||||
sMenuText = QT_TR_NOOP("Save a Cop&y…");
|
||||
|
||||
sToolTipText = QT_TR_NOOP("Saves a copy of the active document under a new file name");
|
||||
sWhatsThis = "Std_SaveCopy";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Std_SaveCopy";
|
||||
sAccel = "Ctrl+Alt+Shift+S";
|
||||
}
|
||||
|
||||
|
||||
void StdCmdSaveCopy::activated(int iMsg)
|
||||
{
|
||||
Q_UNUSED(iMsg);
|
||||
|
||||
@@ -699,7 +699,7 @@
|
||||
<FCText Name="Std_Save">Ctrl+S</FCText>
|
||||
<FCText Name="Std_SaveAll"></FCText>
|
||||
<FCText Name="Std_SaveAs">Ctrl+Shift+S</FCText>
|
||||
<FCText Name="Std_SaveCopy"></FCText>
|
||||
<FCText Name="Std_SaveCopy">Ctrl+Alt+Shift+S</FCText>
|
||||
<FCText Name="Std_SceneInspector"></FCText>
|
||||
<FCText Name="Std_SelBack">S, B</FCText>
|
||||
<FCText Name="Std_SelBoundingBox"></FCText>
|
||||
|
||||
Reference in New Issue
Block a user