Skip to content

Commit

Permalink
Added header title to show active database file path
Browse files Browse the repository at this point in the history
  • Loading branch information
ndesai committed Dec 1, 2014
1 parent 7b4d453 commit 97e5a53
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/SQLiteEditor/qml/views/Header.qml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ Rectangle {
}
}

Label {
anchors.centerIn: parent
horizontalAlignment: Text.AlignHCenter
width: 500
color: theme.text
styleColor: theme.white
style: Text.Raised
text: [superRoot.title, superRoot.activeDatabase.toString()].filter(Boolean).join(" - ")
}

Row {
anchors.right: parent.right
Expand Down

0 comments on commit 97e5a53

Please sign in to comment.