mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 18:42:20 -04:00
change hide/expand icon when frame is hidden/visible
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2045 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
66fe9cb9b0
commit
80142c2752
2 changed files with 6 additions and 1 deletions
|
@ -165,10 +165,14 @@ void ChanMsgItem::toggle()
|
|||
if (expandFrame->isHidden())
|
||||
{
|
||||
expandFrame->show();
|
||||
expandButton->setIcon(QIcon(QString(":/images/edit_remove24.png")));
|
||||
expandButton->setToolTip(tr("Hide"));
|
||||
}
|
||||
else
|
||||
{
|
||||
expandFrame->hide();
|
||||
expandButton->setIcon(QIcon(QString(":/images/edit_add24.png")));
|
||||
expandButton->setToolTip(tr("Expand"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue