diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/PatchWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp index cd4b4ab7..e4f737cb 100644 --- a/src/gui/PatchWindow.cpp +++ b/src/gui/PatchWindow.cpp @@ -716,10 +716,10 @@ void PatchWindow::event_port_names_toggled() { if (_menu_show_port_names->get_active()) { - _view->canvas()->set_direction(Canvas::HORIZONTAL); + _view->canvas()->set_direction(GANV_DIRECTION_RIGHT); _view->canvas()->show_port_names(true); } else { - _view->canvas()->set_direction(Canvas::VERTICAL); + _view->canvas()->set_direction(GANV_DIRECTION_DOWN); _view->canvas()->show_port_names(false); } } |