diff options
| author | Peter Penz <[email protected]> | 2007-10-05 06:33:48 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-10-05 06:33:48 +0000 |
| commit | 8dc8c5d21fae81979c1010dc9c24c5f4e54b6dbe (patch) | |
| tree | 7bb18b0298e55a7daef8df2a8450457543f8c46c | |
| parent | 47f0accc47fddf87c7e0265692ae2742ea4f4272 (diff) | |
Restoring the column view relies on the URL-history. It might be possible that the view properties have been changed or deleted in the meantime, so it cannot be asserted that really a column view has been created.
svn path=/trunk/KDE/kdebase/apps/; revision=721374
| -rw-r--r-- | src/dolphinview.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index eae699a7b..94ed99b69 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -452,9 +452,13 @@ void DolphinView::updateView(const KUrl& url, const KUrl& rootUrl) if (restoreColumnView) { applyViewProperties(rootUrl); - Q_ASSERT(itemView() == m_columnView); startDirLister(rootUrl); - m_columnView->showColumn(url); + // Restoring the column view relies on the URL-history. It might be possible + // that the view properties have been changed or deleted in the meantime, so + // it cannot be asserted that really a column view has been created: + if (itemView() == m_columnView) { + m_columnView->showColumn(url); + } } else { applyViewProperties(url); startDirLister(url); |
