Skip to content

Commit

Permalink
fixed missing event for tab switching (e.g. scrolling while hovering …
Browse files Browse the repository at this point in the history
…the tabs
  • Loading branch information
Theverat committed Aug 12, 2016
1 parent fcb689d commit c5d7f3e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src_gui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ MainWindow::MainWindow(QWidget *parent) :

//hide queue progressbar
ui->progressBar_Queue->hide();

// SSAO map generator is not ready yet, remove it from the UI
ui->tabWidget->removeTab(4);

//default UI colors
useCustomUiColors = false;
Expand Down Expand Up @@ -910,6 +913,7 @@ void MainWindow::connectSignalSlots() {
connect(ui->pushButton_calcSsao, SIGNAL(clicked()), this, SLOT(calcSsaoAndPreview()));
//switch between tabs
connect(ui->tabWidget, SIGNAL(tabBarClicked(int)), this, SLOT(preview(int)));
connect(ui->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(preview(int)));
//display channel intensity
connect(ui->checkBox_displayChannelIntensity, SIGNAL(clicked(bool)), this, SLOT(preview()));
connect(ui->checkBox_displayChannelIntensity, SIGNAL(clicked(bool)), ui->radioButton_displayRed, SLOT(setEnabled(bool)));
Expand Down

0 comments on commit c5d7f3e

Please sign in to comment.