diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-07 17:12:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-07 17:12:59 +0300 |
commit | 2538267ce30c5cfe3bbf23442e7c3a80e647f260 (patch) | |
tree | 5490d8aa2931645af09e35cee0e6b255592103a9 /src/gui/windows/chatwindow.cpp | |
parent | 7807ed17587b09c39dcd815a554f48e2f6ecb346 (diff) | |
download | mv-2538267ce30c5cfe3bbf23442e7c3a80e647f260.tar.gz mv-2538267ce30c5cfe3bbf23442e7c3a80e647f260.tar.bz2 mv-2538267ce30c5cfe3bbf23442e7c3a80e647f260.tar.xz mv-2538267ce30c5cfe3bbf23442e7c3a80e647f260.zip |
For commands in links in chat ask before executing command.
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index b3a0ced78..5bed12f72 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -169,6 +169,8 @@ ChatWindow::ChatWindow() : mColorPicker->addActionListener(this); mColorPicker->setSelected(mChatColor); + mItemLinkHandler->setAllowCommands(false); + loadWindowState(); mColorPicker->setPosition(this->getWidth() - mColorPicker->getWidth() |