Skip to content

Commit

Permalink
Added tab key support and user list count.
Browse files Browse the repository at this point in the history
  • Loading branch information
Venemo committed Jan 18, 2013
1 parent 1911065 commit 23807b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion qml/desktop/misc/ChannelSwitcherButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Button {
font.bold: true
}
MenuButton {
text: "User list (138)"
text: ("User list (%1)").arg(ircModel.currentChannel === null ? 0 : ircModel.currentChannel.userCount)
visible: isChannel && isConnected
// TODO: onClicked
}
Expand Down
4 changes: 4 additions & 0 deletions qml/desktop/pages/ChatPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ Page {
if (ircModel.currentChannel !== null)
ircModel.currentChannel.getSentMessagesDown()
}
Keys.onTabPressed: {
if (ircModel.currentChannel !== null)
ircModel.currentChannel.autoCompleteNick()
}

Button {
id: sendButton
Expand Down

0 comments on commit 23807b1

Please sign in to comment.