# Space after itemize only if no text follows [duplicate]

My problem with the following example:

• If there is text after a list (itemize), everything looks just fine.
• If there isn't, there is a blank line after the last list item which I would like to remove.

In my document the table has more columns but those are not relevant to the problem I think (in case you wonder why I would use a table at all).

\documentclass[parskip=half]{scrlttr2}
\usepackage[T1]{fontenc}
\usepackage[english, ngerman]{babel}
\usepackage{tabularx}
\usepackage{enumitem}
\setlist{nolistsep}

\begin{document}

\begin{tabularx}{\textwidth}{X}
\begin{itemize}
\item text
\end{itemize}
more text \\
\hline
\begin{itemize}
\item text
\end{itemize} \\
\hline
\end{tabularx}

\end{document}
-