Bugfix: Panel popping out when shown because it's already visible
This commit is contained in:
parent
8baca7edc6
commit
5eed949e27
1 changed files with 2 additions and 1 deletions
|
|
@ -132,7 +132,8 @@ PanelManager::show_panel(const int description_index)
|
|||
panels::Panel* const panel = *i;
|
||||
if(get_panel_type(panel) == description_index)
|
||||
{
|
||||
panel->show();
|
||||
if(!panel->is_shown())
|
||||
panel->show();
|
||||
|
||||
GdlDockItem *dock_item = panel->get_dock_item();
|
||||
ENSURE(dock_item);
|
||||
|
|
|
|||
Loading…
Reference in a new issue