Dock widget title doesn't update correctly.
--HG-- branch : develop
This commit is contained in:
parent
351dd78a4f
commit
b34b25be76
|
@ -1487,6 +1487,18 @@ void MainWindow::changeEvent(QEvent *event)
|
||||||
redoAction->setText(tr("&Redo"));
|
redoAction->setText(tr("&Redo"));
|
||||||
statusBar()->showMessage(tr("Changes applied."), 5000);
|
statusBar()->showMessage(tr("Changes applied."), 5000);
|
||||||
patternPieceLabel->setText(tr("Pattern Piece:"));
|
patternPieceLabel->setText(tr("Pattern Piece:"));
|
||||||
|
|
||||||
|
if (qApp->GetDrawMode() == Draw::Calculation)
|
||||||
|
{
|
||||||
|
ui->dockWidgetGroups->setWindowTitle(tr("Groups of visibility"));
|
||||||
|
ui->dockWidgetGroups->setToolTip(tr("Contains all visibility groups"));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ui->dockWidgetGroups->setWindowTitle(tr("Details"));
|
||||||
|
ui->dockWidgetGroups->setToolTip(tr("Show which details will go in layout"));
|
||||||
|
}
|
||||||
|
|
||||||
UpdateWindowTitle();
|
UpdateWindowTitle();
|
||||||
emit sceneDetails->LanguageChanged();
|
emit sceneDetails->LanguageChanged();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user