diff options
Diffstat (limited to 'src/libs/gui/UploadPatchWindow.cpp')
-rw-r--r-- | src/libs/gui/UploadPatchWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/gui/UploadPatchWindow.cpp b/src/libs/gui/UploadPatchWindow.cpp index c69ce7f3..16fa0665 100644 --- a/src/libs/gui/UploadPatchWindow.cpp +++ b/src/libs/gui/UploadPatchWindow.cpp @@ -75,11 +75,11 @@ UploadPatchWindow::on_show() Gtk::Dialog::on_show(); Raul::Atom atom = _patch->get_variable("lv2:symbol"); - if (atom) + if (atom.is_valid()) _symbol_entry->set_text(atom.get_string()); atom = _patch->get_variable("doap:name"); - if (atom) + if (atom.is_valid()) _short_name_entry->set_text(atom.get_string()); } |