Fix tab rearranging when the right mouse button was clicked on the active tab before trying to drag a different one.

master
Zi Ree 2025-11-29 23:50:10 +01:00
parent 2df8cc4f77
commit 6aff026508
1 changed files with 1 additions and 0 deletions

View File

@ -1268,6 +1268,7 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel)
p.button_flash_count(LLUI::getInstance()->mSettingGroups["config"]->getS32("FlashCount")); p.button_flash_count(LLUI::getInstance()->mSettingGroups["config"]->getS32("FlashCount"));
p.button_flash_rate(LLUI::getInstance()->mSettingGroups["config"]->getF32("FlashPeriod")); p.button_flash_rate(LLUI::getInstance()->mSettingGroups["config"]->getF32("FlashPeriod"));
// </FS:Ansariel> // </FS:Ansariel>
p.handle_right_mouse = false; // <FS:Zi> Fix tab rearranging when active tab was right clicked before
// *TODO : It seems wrong not to use p in both cases considering the way p is initialized // *TODO : It seems wrong not to use p in both cases considering the way p is initialized
if (mCustomIconCtrlUsed) if (mCustomIconCtrlUsed)