Fixed crash when trying to vote.
This commit is contained in:
parent
6066dba9d0
commit
2bfdfc0373
@ -254,7 +254,6 @@ GUIEngine::EventPropagation AddonsLoading::processEvent(const std::string& event
|
||||
// ----------------------------------------------------------------------------
|
||||
void AddonsLoading::voteClicked()
|
||||
{
|
||||
ModalDialog::dismiss();
|
||||
if (Online::CurrentUser::get()->isRegisteredUser())
|
||||
new VoteDialog(m_addon.getId());
|
||||
} // voteClicked
|
||||
|
Loading…
x
Reference in New Issue
Block a user