-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.cpp | 8 | ||||
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.h | 1 | ||||
-rw-r--r-- | noncore/graphics/opie-eye/gui/mainwindow.cpp | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index 7c8c88d..eafff1d 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp | |||
@@ -155,2 +155,3 @@ PIconView::PIconView( QWidget* wid, Opie::Core::OConfig* cfg ) | |||
155 | m_mode = 0; | 155 | m_mode = 0; |
156 | m_internalReset = false; | ||
156 | 157 | ||
@@ -365,3 +366,5 @@ void PIconView::loadViews() { | |||
365 | void PIconView::resetView() { | 366 | void PIconView::resetView() { |
367 | m_internalReset = true; | ||
366 | slotViewChanged(m_views->currentItem()); | 368 | slotViewChanged(m_views->currentItem()); |
369 | m_internalReset = false; | ||
367 | } | 370 | } |
@@ -409,3 +412,6 @@ void PIconView::slotViewChanged( int i) { | |||
409 | 412 | ||
410 | /* reload now with default Path*/ | 413 | /* reload now with default Path |
414 | * but only if it isn't a reset like from setupdlg | ||
415 | */ | ||
416 | if (!m_internalReset) | ||
411 | m_path = lis->defaultPath(); | 417 | m_path = lis->defaultPath(); |
diff --git a/noncore/graphics/opie-eye/gui/iconview.h b/noncore/graphics/opie-eye/gui/iconview.h index dff55ed..bea35c2 100644 --- a/noncore/graphics/opie-eye/gui/iconview.h +++ b/noncore/graphics/opie-eye/gui/iconview.h | |||
@@ -97,2 +97,3 @@ private: | |||
97 | int m_mode; | 97 | int m_mode; |
98 | bool m_internalReset:1; | ||
98 | }; | 99 | }; |
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index 6660eb2..30c9bf1 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp | |||
@@ -175,2 +175,3 @@ void PMainWindow::slotConfig() { | |||
175 | initInfo(); | 175 | initInfo(); |
176 | m_info->hide(); | ||
176 | } | 177 | } |
@@ -182,2 +183,3 @@ void PMainWindow::slotConfig() { | |||
182 | initDisp(); | 183 | initDisp(); |
184 | m_disp->hide(); | ||
183 | } | 185 | } |