From: Eric Bollengier Date: Tue, 11 Aug 2009 09:35:59 +0000 (+0200) Subject: display content on doubleclick only if storage and autochanger X-Git-Tag: Release-5.0.0~333^2~13^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=68166d444f78f323c4ca55117686af6135d74a66;p=bacula%2Fbacula display content on doubleclick only if storage and autochanger --- diff --git a/bacula/src/qt-console/storage/storage.cpp b/bacula/src/qt-console/storage/storage.cpp index 3fce0c0455..1e5cd6e8a3 100644 --- a/bacula/src/qt-console/storage/storage.cpp +++ b/bacula/src/qt-console/storage/storage.cpp @@ -334,7 +334,9 @@ void Storage::createContextMenu() void Storage::contentWindow() { - new Content(m_currentStorage); + if (m_currentStorage != "" && m_currentAutoChanger) { + new Content(m_currentStorage); + } } /*