From c3281a1e8fded4bcd310dab00d77da2f5596163b Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 16 Nov 2009 15:29:44 +0000 Subject: [PATCH] - Do not refresh properties if they are note visible --- src/propertieswidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/propertieswidget.cpp b/src/propertieswidget.cpp index 2845fe6fa..58a609eef 100644 --- a/src/propertieswidget.cpp +++ b/src/propertieswidget.cpp @@ -141,6 +141,8 @@ void PropertiesWidget::slide() { hSplitter->handle(1)->setVisible(true); hSplitter->setSizes(slideSizes); state = VISIBLE; + // Force refresh + loadDynamicData(); } } @@ -273,6 +275,7 @@ void PropertiesWidget::reloadPreferences() { void PropertiesWidget::loadDynamicData() { if(!h.is_valid()) return; + if(state != VISIBLE) return; try { // Transfer infos if(stackedProperties->currentIndex() == MAIN_TAB) {