Tape show correct placeholder [*] in menu Window.
--HG-- branch : develop
This commit is contained in:
parent
dc1b593b4b
commit
ce80ae4523
|
@ -660,7 +660,7 @@ void TMainWindow::AboutToShowWindowMenu()
|
||||||
const int index = title.lastIndexOf("[*]");
|
const int index = title.lastIndexOf("[*]");
|
||||||
if (index != -1)
|
if (index != -1)
|
||||||
{
|
{
|
||||||
title.replace(index, 3, "*");
|
window->isWindowModified() ? title.replace(index, 3, "*") : title.replace(index, 3, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
QAction *action = ui->menuWindow->addAction(title, this, SLOT(ShowWindow()));
|
QAction *action = ui->menuWindow->addAction(title, this, SLOT(ShowWindow()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user