From 6dfc243b275e48011655b4747d0db1984fb8bef2 Mon Sep 17 00:00:00 2001 From: Jay Nabonne Date: Thu, 7 Feb 2019 11:39:26 +0000 Subject: [PATCH] Fix up a comment. --- src/qt/treectrl.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/qt/treectrl.cpp b/src/qt/treectrl.cpp index 30549ed217..2aeabd62c0 100644 --- a/src/qt/treectrl.cpp +++ b/src/qt/treectrl.cpp @@ -167,8 +167,10 @@ private: return; } - //QT doesnt update the selection until this singal has been processed. //Defering this event ensures - //that wxTreeCtrl::GetSelection returns the new selection in the wx event handler. + // QT doesn't update the selection until this signal has been + // processed. Deferring this event ensures that + // wxTreeCtrl::GetSelection returns the new selection in the + // wx event handler. wxTreeEvent changedEvent(wxEVT_TREE_SEL_CHANGED, treeCtrl, wxQtConvertTreeItem(current)); wxPostEvent(treeCtrl, changedEvent); }