Review fixes

This commit is contained in:
Weslly 2017-03-21 06:04:26 -03:00
parent d50fe46f0e
commit b6cfc82b4e

View File

@ -530,11 +530,7 @@ void MainWindow::updateWindowTitle()
windowTitle = QString("%1 - %2").arg(customWindowTitlePart, BaseWindowTitle);
}
if (m_ui->tabWidget->isModified(tabWidgetIndex)) {
setWindowModified(true);
} else {
setWindowModified(false);
}
setWindowModified(m_ui->tabWidget->isModified(tabWidgetIndex));
setWindowTitle(windowTitle);
}