From 9de3d18ddaffc251abcdda6ea7aeccaebe3e1760 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 030a283dc3..6305e83880 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)