mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 23:51:09 -04:00
Fix dialogue topics still being accessible in the history pane when they shouldn't be
This commit is contained in:
parent
2509b34ace
commit
b9c3a4816d
@ -175,6 +175,9 @@ void DialogueWindow::onHistoryClicked(MyGUI::Widget* _sender)
|
|||||||
if (!mEnabled && color == "#572D21")
|
if (!mEnabled && color == "#572D21")
|
||||||
MWBase::Environment::get().getDialogueManager()->goodbyeSelected();
|
MWBase::Environment::get().getDialogueManager()->goodbyeSelected();
|
||||||
|
|
||||||
|
if (!mEnabled)
|
||||||
|
return;
|
||||||
|
|
||||||
if(color != "#B29154")
|
if(color != "#B29154")
|
||||||
{
|
{
|
||||||
MyGUI::UString key = mHistory->getColorTextAt(cursorPosition);
|
MyGUI::UString key = mHistory->getColorTextAt(cursorPosition);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user