diff options
| -rw-r--r-- | img/qspace.blend | bin | 94001 -> 94003 bytes | |||
| -rw-r--r-- | mainwindow.cpp | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/img/qspace.blend b/img/qspace.blend index 37a979f..e9f8c33 100644 --- a/img/qspace.blend +++ b/img/qspace.blend | |||
| Binary files differ | |||
diff --git a/mainwindow.cpp b/mainwindow.cpp index 9385cd6..6149e0c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp | |||
| @@ -55,6 +55,11 @@ void MainWindow::updateSpaceList() | |||
| 55 | ui->comboBox->setCurrentIndex(ui->comboBox->count()-1); | 55 | ui->comboBox->setCurrentIndex(ui->comboBox->count()-1); |
| 56 | } | 56 | } |
| 57 | ui->comboBox->setDisabled(false); | 57 | ui->comboBox->setDisabled(false); |
| 58 | |||
| 59 | // in case of a bad network connection the combobox might show an element | ||
| 60 | // but does not download data. clicking refresh does not solve that, because | ||
| 61 | // setCurrentIndex does not trigger a refresh in that (rare) case... | ||
| 62 | this->updateStatus(); // fixes case where setCurrentIndex does not call on_comboBox_currentIndexChanged | ||
| 58 | } | 63 | } |
| 59 | 64 | ||
| 60 | QJsonObject json_find(QJsonObject json, QStringList list) | 65 | QJsonObject json_find(QJsonObject json, QStringList list) |
