mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
show or hide ID chooser in message box depending on destination of message
This commit is contained in:
parent
f9e61ddfa5
commit
93368aae61
@ -136,8 +136,8 @@ MessageComposer::MessageComposer(QWidget *parent, Qt::WindowFlags flags)
|
|||||||
m_completer = NULL;
|
m_completer = NULL;
|
||||||
|
|
||||||
ui.distantFrame->hide();
|
ui.distantFrame->hide();
|
||||||
ui.respond_to_CB->setEnabled(false) ;
|
ui.respond_to_CB->hide();
|
||||||
ui.fromLabel->setEnabled(false) ;
|
ui.fromLabel->hide();
|
||||||
|
|
||||||
Settings->loadWidgetInformation(this);
|
Settings->loadWidgetInformation(this);
|
||||||
|
|
||||||
@ -389,15 +389,15 @@ void MessageComposer::updateCells(int,int)
|
|||||||
}
|
}
|
||||||
if(has_gxs)
|
if(has_gxs)
|
||||||
{
|
{
|
||||||
ui.respond_to_CB->setEnabled(true) ;
|
ui.respond_to_CB->show();
|
||||||
ui.distantFrame->show();
|
ui.distantFrame->show();
|
||||||
ui.fromLabel->setEnabled(true);
|
ui.fromLabel->show();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ui.respond_to_CB->setEnabled(false) ;
|
ui.respond_to_CB->hide();
|
||||||
ui.distantFrame->hide() ;
|
ui.distantFrame->hide() ;
|
||||||
ui.fromLabel->setEnabled(false);
|
ui.fromLabel->hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user