Skip to content

Commit bdab0cc

Browse files
committed
login form
fixed project button
1 parent 4e92448 commit bdab0cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

huggle/login.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@ void Login::Localize()
185185
this->ui->checkBox_2->setText(_l("login-remember-password"));
186186
this->ui->checkBox_2->setToolTip(_l("login-remember-password-tooltip"));
187187
this->ui->labelIntro->setText(_l("login-intro"));
188-
this->ui->pushButton_2->setText(_l("projects") + " >>");
188+
if (this->ui->tableWidget->isVisible())
189+
this->ui->pushButton_2->setText(_l("projects") + " >>");
190+
else
191+
this->ui->pushButton_2->setText(_l("projects") + " <<");
189192
this->ui->label->setText("<a href='dummy'>" + _l("login-proxy") + "</a>");
190193
this->ui->labelTranslate->setText(QString("<html><head/><body><p><a href=\"http://meta.wikimedia.org/wiki/Huggle/Localization\"><span style=\""\
191194
" text-decoration: underline; color:#0000ff;\">%1</span></a></p></body></html>").arg(_l("login-translate")));

0 commit comments

Comments
 (0)