mirror of https://github.com/procxx/kepka.git
Jump to chats list top on folder change.
This commit is contained in:
parent
4ad8c4877c
commit
d9ad3a4bbe
|
@ -309,7 +309,7 @@ void InnerWidget::changeOpenedFolder(Data::Folder *folder) {
|
||||||
clearSelection();
|
clearSelection();
|
||||||
_openedFolder = folder;
|
_openedFolder = folder;
|
||||||
_mode = _openedFolder ? Mode::All : Global::DialogsMode();
|
_mode = _openedFolder ? Mode::All : Global::DialogsMode();
|
||||||
refresh();
|
refresh(true);
|
||||||
// This doesn't work, because we clear selection in leaveEvent on hide.
|
// This doesn't work, because we clear selection in leaveEvent on hide.
|
||||||
//if (mouseSelection && lastMousePosition) {
|
//if (mouseSelection && lastMousePosition) {
|
||||||
// selectByMouse(*lastMousePosition);
|
// selectByMouse(*lastMousePosition);
|
||||||
|
|
Loading…
Reference in New Issue