Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Dec 17, 2019
1 parent be92b58 commit 297e694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/miscellaneous/Core/src/centralwidget.cpp
Expand Up @@ -1859,7 +1859,7 @@ void CentralWidget::updateNoViewMsg()
Plugin *fileViewPlugin = viewPlugin(fileTabIndex);

if (fileViewPlugin != nullptr) {
if (Core::FileManager::instance()->isNew(mFileNames[fileTabIndex])) {
if (FileManager::instance()->isNew(mFileNames[fileTabIndex])) {
mNoViewMsg->setMessage(tr("The <strong>%1</strong> view does not support new files...").arg(qobject_cast<ViewInterface *>(fileViewPlugin->instance())->viewName()));
} else {
mNoViewMsg->setMessage(tr("The <strong>%1</strong> view does not support this type of file...").arg(qobject_cast<ViewInterface *>(fileViewPlugin->instance())->viewName()));
Expand Down

0 comments on commit 297e694

Please sign in to comment.