Skip to content

Commit

Permalink
fixed open/delete buttons not enabling on new repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Byers committed Jan 20, 2018
1 parent eadbdba commit 72089cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ void MainWindow::on_btn_new_repo_clicked()
//add to the combo box
ui->cmb_repo_urls->insertItem(ui->cmb_repo_urls->count(), m_dr->getText());
ui->cmb_repo_urls->setCurrentIndex(ui->cmb_repo_urls->count()-1);
ui->btn_open_repo->setEnabled(true);
ui->btn_del_repo->setEnabled(true);

//write it to the file
helpers::addRepoToFile(m_dr->getText(), REPO_URL_FILE_PATH);
Expand Down

0 comments on commit 72089cb

Please # to comment.