Skip to content

Commit

Permalink
ShareLink: Always initialize expire date #4075
Browse files Browse the repository at this point in the history
  • Loading branch information
ckamm committed Nov 23, 2015
1 parent b3f5885 commit bd72642
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/sharelinkwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ ShareLinkWidget::ShareLinkWidget(AccountPtr account,
_ui->lineEdit_password->hide();
_ui->pushButton_setPassword->hide();

_ui->calendar->setMinimumDate(QDate::currentDate().addDays(1));
_ui->calendar->setEnabled(false);

_ui->checkBox_password->setText(tr("P&assword protect"));
Expand Down

0 comments on commit bd72642

Please sign in to comment.