[skip ci] fix more -Wgnu-zero-variadic-macro-arguments
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/Selection.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/CommandT.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/BitmapFactory.h>
|
||||
#include <Gui/DlgEditFileIncludePropertyExternal.h>
|
||||
@@ -142,7 +142,7 @@ void CmdSketcherToggleConstruction::activated(int iMsg)
|
||||
if (it->size() > 4 && it->substr(0,4) == "Edge") {
|
||||
int GeoId = std::atoi(it->substr(4,4000).c_str()) - 1;
|
||||
// issue the actual commands to toggle
|
||||
FCMD_OBJ_CMD2("toggleConstruction(%d) ",selection[0].getObject(),GeoId);
|
||||
Gui::cmdAppObjectArgs(selection[0].getObject(), "toggleConstruction(%d) ", GeoId);
|
||||
}
|
||||
}
|
||||
// finish the transaction and update
|
||||
|
||||
Reference in New Issue
Block a user