Fix random downloaded add-on (and possibly other upload action)...
...when using filter in the add-on management dialog. Bug reported by Turin.
This commit is contained in:
parent
a0fa5d2ad6
commit
77f8378013
1 changed files with 3 additions and 1 deletions
|
@ -1437,7 +1437,9 @@ void game_controller::download_addons(std::string host)
|
|||
_("Filter: "), options, options_to_filter, 0, addon_dialog, 300);
|
||||
addon_dialog.set_textbox(filter);
|
||||
|
||||
const int index = addon_dialog.show();
|
||||
int index = addon_dialog.show();
|
||||
index = filter->get_index(index);
|
||||
|
||||
if(index < 0) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue