From 2a101522dfa61e7679df11be2c98cede6209de45 Mon Sep 17 00:00:00 2001 From: Jerome St-Louis Date: Fri, 22 Apr 2016 07:02:57 -0400 Subject: [PATCH] ecere/gui/controls/TabControl: Resetting tabs 'checked' when added back - Was having multiple tabs to be highlighted at once --- ecere/src/gui/controls/TabControl.ec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ecere/src/gui/controls/TabControl.ec b/ecere/src/gui/controls/TabControl.ec index 94a7cc1..d1c3d8e 100644 --- a/ecere/src/gui/controls/TabControl.ec +++ b/ecere/src/gui/controls/TabControl.ec @@ -608,6 +608,8 @@ public class TabControl : Window tab.button.checked = true; tab.autoCreate = true; } + else + tab.button.checked = false; PlaceButton(tab.button, placement, curTab == tab, buttonsOffset); switch(placement) -- 1.8.3.1