Commit 9bb6fc0e authored by Nikita Sirgienko's avatar Nikita Sirgienko
Browse files

Add text message for 51f0cb08

parent 51f0cb08
Pipeline #27238 passed with stage
in 30 minutes and 41 seconds
...@@ -106,9 +106,8 @@ void CantorShell::load(const QUrl &url) ...@@ -106,9 +106,8 @@ void CantorShell::load(const QUrl &url)
{ {
if (m_tabWidget->currentIndex() != i) if (m_tabWidget->currentIndex() != i)
activateWorksheet(i); activateWorksheet(i);
//else else
// TODO message about that user try to open worksheet, which have been opened KMessageBox::information(this, i18n("The file %1 is already opened.", QFileInfo(url.toLocalFile()).fileName()), i18n("Open file"));
// in Cantor and the user already see the worksheet, because it is active worksheet
return; return;
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment