tools/drawMapTest/mainwindow.cpp
changeset 4439 27a896207aae
parent 4434 34c305fbc63c
child 4442 f8424e1bc936
--- a/tools/drawMapTest/mainwindow.cpp	Wed Dec 01 01:43:55 2010 +0100
+++ b/tools/drawMapTest/mainwindow.cpp	Wed Dec 01 20:45:05 2010 +0300
@@ -42,10 +42,12 @@
 
 void MainWindow::scene_pathChanged()
 {
-    ui->plainTextEdit->setPlainText(scene->encode().toBase64());
+    QString str = scene->encode().toBase64();
+    ui->plainTextEdit->setPlainText(str);
+    ui->sbBytes->setValue(str.size());
 }
 
 void MainWindow::on_pbSimplify_clicked()
 {
-    scene->simplify();
+    scene->simplifyLast();
 }