diff options
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r-- | src/gui/Port.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 809f43f1..b0c4ffcb 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -311,10 +311,9 @@ Port::set_selected(bool b) const std::string& doc = node->plugin_model()->port_documentation( pm->index()); if (!doc.empty()) { - win->doc_textview()->get_buffer()->set_text(doc); - win->doc_textview()->show(); + win->show_documentation(doc, false); } else { - win->doc_textview()->hide(); + win->hide_documentation(); } } } |