diff --git a/share/translations/valentina_uk.ts b/share/translations/valentina_uk.ts index 1d78da937..00ee982ea 100644 --- a/share/translations/valentina_uk.ts +++ b/share/translations/valentina_uk.ts @@ -2395,14 +2395,14 @@ Select first point - Виберість першу точку + Виберіть першу точку Select first point of line - Виберість першу точку лінії + Виберіть першу точку лінії diff --git a/src/dialogs/dialogline.h b/src/dialogs/dialogline.h index 8f15b232b..8f14e2c18 100644 --- a/src/dialogs/dialogline.h +++ b/src/dialogs/dialogline.h @@ -76,7 +76,7 @@ public slots: * @param id id of point or detail * @param type type of object */ - void ChoosedObject(qint64 id, const Scene::Scenes &type); + virtual void ChoosedObject(qint64 id, const Scene::Scenes &type); /** * @brief DialogAccepted save data and emit signal about closed dialog. */ diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f7db503b1..db7d69494 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -329,7 +329,7 @@ void MainWindow::ClosedDialogEndLine(int result) void MainWindow::ToolLine(bool checked) { - SetToolButton(checked, Tool::LineTool, ":/cursor/line_cursor.png", tr("Select first point"), + SetToolButton(checked, Tool::LineTool, ":/cursor/line_cursor.png", tr("Select first point"), &MainWindow::ClosedDialogLine); }