diff options
Diffstat (limited to 'src/gui/PatchWindow.cpp')
-rw-r--r-- | src/gui/PatchWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/PatchWindow.cpp b/src/gui/PatchWindow.cpp index 796837e3..9efd4887 100644 --- a/src/gui/PatchWindow.cpp +++ b/src/gui/PatchWindow.cpp @@ -324,7 +324,7 @@ PatchWindow::show_port_status(PortModel* port, const Raul::Atom& value) const PluginModel* plugin = dynamic_cast<const PluginModel*>(parent->plugin()); if (plugin) { const string& human_name = plugin->port_human_name(port->index()); - if (human_name != "") + if (!human_name.empty()) msg << " (" << human_name << ")"; } } |