Browse Source

- Do not refresh properties if they are note visible

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
c3281a1e8f
  1. 3
      src/propertieswidget.cpp

3
src/propertieswidget.cpp

@ -141,6 +141,8 @@ void PropertiesWidget::slide() { @@ -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() { @@ -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) {

Loading…
Cancel
Save