Исправлен баг с comboBox режима отображения загрузки

pull/38/head
Igor Belitskiy 3 years ago
parent 6ae0a60b61
commit db23b59fba

File diff suppressed because it is too large Load Diff

@ -443,6 +443,7 @@ void MainWindow::get_download_mode(std::map <string, string> &map_temp) {
string value = iter_map_data->second;
if (value.length() != 0) {
Utils::str_replace_all(value, "\"","");
if (value == "splash") {
cmbDownloadMode->set_active(0);
}
@ -923,6 +924,7 @@ void MainWindow::check_resize_window() {
cmbDownloadMode->append(loading_animation_without);
cmbDownloadMode->append(no_loading_animation_800_600);
cmbDownloadMode->append(lack_loading_animation_800_600);
this->get_download_mode(map_cmd_selection);
}
else {
cmbDownloadMode->remove_all();
@ -930,6 +932,7 @@ void MainWindow::check_resize_window() {
cmbDownloadMode->append(loading_animation_without);
cmbDownloadMode->append(no_loading_animation);
cmbDownloadMode->append(lack_loading_animation);
this->get_download_mode(map_cmd_selection);
}
}
old_height = height;

Loading…
Cancel
Save