Skip to content

Commit

Permalink
Fixing cross threading issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Mar 19, 2016
1 parent c352860 commit fb0e5b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rai/qt/qt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,10 @@ active_status (*this)
});
wallet_m->lock_observer = [this] (bool invalid, bool vulnerable)
{
this->settings.update_locked (invalid, vulnerable);
application.postEvent (&processor, new eventloop_event ([this, invalid, vulnerable] ()
{
this->settings.update_locked (invalid, vulnerable);
}));
};
refresh ();
}
Expand Down

0 comments on commit fb0e5b7

Please sign in to comment.