diff options
Diffstat (limited to 'src/gui/NodeModule.cpp')
-rw-r--r-- | src/gui/NodeModule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 8f66b3bd..20eebdd1 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -415,14 +415,14 @@ NodeModule::set_selected(bool b) PatchWindow* win = app.window_factory()->parent_patch_window(node()); if (win) { std::string doc; + bool html = false; if (node()->plugin_model()) { - doc = node()->plugin_model()->documentation(); + doc = node()->plugin_model()->documentation(&html); } if (!doc.empty()) { - win->doc_textview()->get_buffer()->set_text(doc); - win->doc_textview()->show(); + win->show_documentation(doc, html); } else { - win->doc_textview()->hide(); + win->hide_documentation(); } } } |