Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use comm port for window title if no display name

  • Loading branch information...
commit b7876352cbb63e7d965c72454d55f1b34e93aa5f 1 parent eaf8c71
@bmcdorman bmcdorman authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/source_file.cpp
View
3  src/source_file.cpp
@@ -112,7 +112,8 @@ SourceFile::~SourceFile()
void SourceFile::activate()
{
- mainWindow()->setTitle(target()->displayName());
+ mainWindow()->setTitle(target()->displayName().isEmpty()
+ ? target()->commPort() : target()->displayName());
mainWindow()->setStatusMessage("");
Please sign in to comment.
Something went wrong with that request. Please try again.