Skip to content

Commit

Permalink
open thread if post number clicked in boardtab
Browse files Browse the repository at this point in the history
  • Loading branch information
siavash119 committed Jul 28, 2017
1 parent 45f4596 commit c42cb10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion threadform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,8 @@ void ThreadForm::quoteClicked(const QString &link)
if(tf != nullptr && !tf->hidden) this->insert(tf);
}
else if(link.startsWith("#op")){
static_cast<ThreadTab*>(tab)->quoteIt(">>"+post.no);
if(this->type == PostType::Reply) static_cast<ThreadTab*>(tab)->quoteIt(">>"+post.no);
else imageClicked();
}
else if(!link.isEmpty() && link.at(0)=='/') {
mw->loadFromSearch(link,QString(),Q_NULLPTR,false);
Expand Down

0 comments on commit c42cb10

Please sign in to comment.