mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Connect button should be disabled by default
Since ConnectDialog::accept calls are refused if no item is selected, and the server last connected to is selected in ConnectDialog::timeTick (after initialisation), it doesn't make sense for the Connect button to be enabled before a server is selected.
This commit is contained in:
parent
0fdb7c17e5
commit
78604d85f0
@ -821,6 +821,7 @@ ConnectDialog::ConnectDialog(QWidget *p, bool autoconnect) : QDialog(p), bAutoCo
|
||||
qlPublicServers.clear();
|
||||
}
|
||||
|
||||
qdbbButtonBox->button(QDialogButtonBox::Ok)->setEnabled(false);
|
||||
qdbbButtonBox->button(QDialogButtonBox::Ok)->setText(tr("&Connect"));
|
||||
|
||||
QPushButton *qpbAdd = new QPushButton(tr("&Add New..."), this);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user