Created
April 12, 2013 17:24
-
-
Save stepheneb/5373643 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp | |
| index a4be9fd..8850862 100644 | |
| --- a/src/qtui/mainwin.cpp | |
| +++ b/src/qtui/mainwin.cpp | |
| @@ -1059,12 +1059,12 @@ void MainWin::setConnectedState() | |
| } | |
| else { | |
| // Monolithic always preselects last used buffer - Client only if the connection died | |
| - if (Client::coreConnection()->wasReconnect() || Quassel::runMode() == Quassel::Monolithic) { | |
| + // if (Client::coreConnection()->wasReconnect() || Quassel::runMode() == Quassel::Monolithic) { | |
| QtUiSettings s; | |
| BufferId lastUsedBufferId(s.value("LastUsedBufferId").toInt()); | |
| if (lastUsedBufferId.isValid()) | |
| Client::bufferModel()->switchToBuffer(lastUsedBufferId); | |
| - } | |
| + // } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment