X-Git-Url: https://git.toastfreeware.priv.at/toast/confclerk.git/blobdiff_plain/3a6ca6045d4ca94463ed8e09fdb9798dfbef8b21..83dc7c6053a1c63a5ba221a9ef1d28adbf75fadf:/src/gui/conferenceeditor.cpp diff --git a/src/gui/conferenceeditor.cpp b/src/gui/conferenceeditor.cpp index 60a57a4..910a7d0 100644 --- a/src/gui/conferenceeditor.cpp +++ b/src/gui/conferenceeditor.cpp @@ -89,7 +89,7 @@ void ConferenceEditor::itemSelected(const QModelIndex& current, const QModelInde conferenceTitle->setText(conf.title()); conferenceSubtitle->setText(conf.subtitle()); - conferenceWhere->setText(conf.city() + ", " + conf.venue()); + conferenceWhere->setText(conf.city() + (!conf.venue().isEmpty() ? ", " + conf.venue() : "")); conferenceWhen->setText( conf.start().toString("yyyy-MM-dd") + " - " +