Review fixes

This commit is contained in:
Weslly committed 2017-03-21 06:04:26 -03:00
1 parent d50fe46f0e
commit b6cfc82b4e
1 file changed
+1 -5
+1 -5
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);
}