From 2c8009cb74f781cd511e142d2aebfdacf59518b9 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 28 Nov 2012 11:27:51 +0100 Subject: [PATCH] Keep the refresh command active when in edit mode --- src/Gui/CommandDoc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Gui/CommandDoc.cpp b/src/Gui/CommandDoc.cpp index 030a283dc..6305e8388 100644 --- a/src/Gui/CommandDoc.cpp +++ b/src/Gui/CommandDoc.cpp @@ -1067,6 +1067,7 @@ StdCmdRefresh::StdCmdRefresh() sStatusTip = QT_TR_NOOP("Recomputes the current active document"); sPixmap = "view-refresh"; sAccel = keySequenceToAccel(QKeySequence::Refresh); + eType = AlterDoc | Alter3DView | AlterSelection | ForEdit; } void StdCmdRefresh::activated(int iMsg)