diff --git a/src/Gui/Command.cpp b/src/Gui/Command.cpp index 88b6a02888..c69257d668 100644 --- a/src/Gui/Command.cpp +++ b/src/Gui/Command.cpp @@ -476,7 +476,7 @@ void Command::_invoke(int id, bool disablelog) } #ifndef FC_DEBUG catch (...) { - Base::Console().Error("Gui::Command::activated(%d): Unknown C++ exception thrown\n", i); + Base::Console().Error("Gui::Command::activated(%d): Unknown C++ exception thrown\n", id); } #endif }