1
0
Fork 0

(svn r25538) -Fix [FS#5567] (r25283): Use the UI index of the selected object to make it visible when re-opening the build object window. (sbr)

release/1.4
frosch 2013-06-30 14:37:01 +00:00
parent 43ec0bf0c1
commit bcb0e04bf2
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public:
this->FindWindowPlacementAndResize(this->width, this->height); this->FindWindowPlacementAndResize(this->width, this->height);
} }
if (_selected_object_index != -1) matrix->SetClicked(_selected_object_index); if (_selected_object_index != -1) matrix->SetClicked(ObjectClass::Get(_selected_object_class)->GetUIFromIndex(_selected_object_index));
} }
virtual ~BuildObjectWindow() virtual ~BuildObjectWindow()