summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PatchBox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PatchBox.cpp b/src/gui/PatchBox.cpp
index bd47a88a..77428203 100644
--- a/src/gui/PatchBox.cpp
+++ b/src/gui/PatchBox.cpp
@@ -586,7 +586,7 @@ PatchBox::event_draw()
}
if (confirm) {
- _view->canvas()->render_to_dot(filename);
+ _view->canvas()->export_dot(filename.c_str());
_status_bar->push(
(boost::format("Rendered %1% to %2%") % _patch->path() % filename).str(),
STATUS_CONTEXT_PATCH);
@@ -651,7 +651,7 @@ PatchBox::event_zoom_out()
void
PatchBox::event_zoom_normal()
{
- _view->canvas()->set_zoom_and_font_size(1.0, _view->canvas()->get_default_font_size());
+ _view->canvas()->set_scale(1.0, _view->canvas()->get_default_font_size());
}
void