Fixed line dialog.

--HG--
branch : develop
This commit is contained in:
dismine 2014-02-06 22:16:25 +02:00
parent f5e50ac782
commit 14337b471d
3 changed files with 4 additions and 4 deletions

View File

@ -2395,14 +2395,14 @@
<message>
<location filename="../../src/mainwindow.cpp" line="339"/>
<source>Select first point</source>
<translation>Виберість першу точку</translation>
<translation>Виберіть першу точку</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="362"/>
<location filename="../../src/mainwindow.cpp" line="374"/>
<location filename="../../src/mainwindow.cpp" line="463"/>
<source>Select first point of line</source>
<translation>Виберість першу точку лінії</translation>
<translation>Виберіть першу точку лінії</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="385"/>

View File

@ -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.
*/

View File

@ -329,7 +329,7 @@ void MainWindow::ClosedDialogEndLine(int result)
void MainWindow::ToolLine(bool checked)
{
SetToolButton<DialogTool>(checked, Tool::LineTool, ":/cursor/line_cursor.png", tr("Select first point"),
SetToolButton<DialogLine>(checked, Tool::LineTool, ":/cursor/line_cursor.png", tr("Select first point"),
&MainWindow::ClosedDialogLine);
}