From 68166d444f78f323c4ca55117686af6135d74a66 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 11 Aug 2009 11:35:59 +0200 Subject: [PATCH] display content on doubleclick only if storage and autochanger --- bacula/src/qt-console/storage/storage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); + } } /* -- 2.39.5