mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #173 from mr-alice/master
show or hide ID chooser in message box depending on destination of msg
This commit is contained in:
commit
75d462e818
@ -136,8 +136,8 @@ MessageComposer::MessageComposer(QWidget *parent, Qt::WindowFlags flags)
|
||||
m_completer = NULL;
|
||||
|
||||
ui.distantFrame->hide();
|
||||
ui.respond_to_CB->setEnabled(false) ;
|
||||
ui.fromLabel->setEnabled(false) ;
|
||||
ui.respond_to_CB->hide();
|
||||
ui.fromLabel->hide();
|
||||
|
||||
Settings->loadWidgetInformation(this);
|
||||
|
||||
@ -389,15 +389,15 @@ void MessageComposer::updateCells(int,int)
|
||||
}
|
||||
if(has_gxs)
|
||||
{
|
||||
ui.respond_to_CB->setEnabled(true) ;
|
||||
ui.respond_to_CB->show();
|
||||
ui.distantFrame->show();
|
||||
ui.fromLabel->setEnabled(true);
|
||||
ui.fromLabel->show();
|
||||
}
|
||||
else
|
||||
{
|
||||
ui.respond_to_CB->setEnabled(false) ;
|
||||
ui.respond_to_CB->hide();
|
||||
ui.distantFrame->hide() ;
|
||||
ui.fromLabel->setEnabled(false);
|
||||
ui.fromLabel->hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user