Disable GUI2 unit create dialog for release...
...so it doesn't interfer with other --new-widgets testing with its memory corruption
This commit is contained in:
parent
ab236e3576
commit
4146766fdb
1 changed files with 3 additions and 0 deletions
|
@ -1411,10 +1411,13 @@ private:
|
|||
|
||||
void menu_handler::create_unit(mouse_handler& mousehandler)
|
||||
{
|
||||
#if 0
|
||||
/** @todo: reenable after releasing 1.7.4; as-is causes memory corruption */
|
||||
if(gui2::new_widgets) {
|
||||
create_unit_2(mousehandler);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
std::vector<std::string> options;
|
||||
static int last_selection = -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue