Skip to content

Commit

Permalink
Triggered gotoToday autmoatically on initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve C committed Jun 16, 2019
1 parent 842598f commit d65cf4d
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 @@ -144,6 +144,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
// Set up Calendar Model
ui->listCalendar->setModel(calendarlist.getModel()) ;

// Fire 'Goto Today' after initialisation complete
QTimer::singleShot(500, this, SLOT(on_actionGotoToday_triggered()));

dbg("Initialisation complete") ;

Expand Down

0 comments on commit d65cf4d

Please sign in to comment.