From 86bea1ef2251a0b03cd51d40a7006224713951b0 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 21 Sep 2013 07:25:20 +0200 Subject: [PATCH] + cppcheck fixes --- src/Gui/CommandView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index 3fcbeaa81..42cfe5cb0 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -910,7 +910,7 @@ void StdCmdSetAppearance::activated(int iMsg) bool StdCmdSetAppearance::isActive(void) { - return !Gui::Selection().empty(); + return Gui::Selection().size() != 0; } //===========================================================================