Skip to content

Instantly share code, notes, and snippets.

@stepheneb
Created April 12, 2013 17:24
Show Gist options
  • Select an option

  • Save stepheneb/5373643 to your computer and use it in GitHub Desktop.

Select an option

Save stepheneb/5373643 to your computer and use it in GitHub Desktop.
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