Skip to content

Commit

Permalink
Hide content also when using templates closes #160
Browse files Browse the repository at this point in the history
  • Loading branch information
annejan committed Jun 10, 2016
1 parent 91e2dd0 commit 945801b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ void MainWindow::readyRead(bool finished = false) {
output = "***" + tr("Content hidden") + "***";
}

if (useTemplate) {
if (useTemplate && !hideContent) {
while (ui->formLayout->count() > 0) {
QLayoutItem *item = ui->formLayout->takeAt(0);
delete item->widget();
Expand Down

0 comments on commit 945801b

Please sign in to comment.