|
@@ -118,7 +118,7 @@ void MainDialog::loadAll()
|
118
|
118
|
for (int i = 1; i < m_rdpOptions.size(); ++i)
|
119
|
119
|
{
|
120
|
120
|
RdpOptions opt = m_rdpOptions.at(i);
|
121
|
|
- ui->lineComputer->addItem(opt.host());
|
|
121
|
+ ui->lineComputer->addItem(opt.visibleName());
|
122
|
122
|
}
|
123
|
123
|
|
124
|
124
|
ui->lineComputer->setFocus();
|
|
@@ -160,8 +160,10 @@ void MainDialog::on_slidResolution_valueChanged(int value)
|
160
|
160
|
|
161
|
161
|
void MainDialog::on_btnSaveSession_clicked()
|
162
|
162
|
{
|
|
163
|
+ RdpOptions options = getRdpOptions();
|
163
|
164
|
RdpOptionsHelper::save(getRdpOptions());
|
164
|
165
|
loadAll();
|
|
166
|
+ setRdpOptions(options);
|
165
|
167
|
}
|
166
|
168
|
|
167
|
169
|
void MainDialog::on_btnSaveAsSession_clicked()
|