Spreadsheet: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Spreadsheet Wb. Ticket: https://tracker.freecadweb.org/view.php?id=4473
This commit is contained in:
@@ -157,7 +157,7 @@ bool SheetView::onMsg(const char *pMsg, const char **)
|
||||
else if(strcmp("Std_Delete",pMsg) == 0) {
|
||||
std::vector<Range> ranges = selectedRanges();
|
||||
if (sheet->hasCell(ranges)) {
|
||||
Gui::Command::openCommand("Clear cell(s)");
|
||||
Gui::Command::openCommand(QT_TRANSLATE_NOOP("Command", "Clear cell(s)"));
|
||||
std::vector<Range>::const_iterator i = ranges.begin();
|
||||
for (; i != ranges.end(); ++i) {
|
||||
FCMD_OBJ_CMD(sheet, "clear('" << i->rangeString() << "')");
|
||||
|
||||
Reference in New Issue
Block a user