Sticky Server and Note Automation as GUI setting

This commit is contained in:
lucretius
2024-01-21 12:26:07 +01:00
parent 8348e61e2e
commit 6f7fd863f0
8 changed files with 105 additions and 21 deletions

View File

@@ -881,8 +881,8 @@ void MainWindow::sendButton() {
ui->tabWidget->setCurrentIndex(0);
});
auto stickyServer = Settings::getInstance()->getSettings().stickyServer;
if(stickyServer) {
bool isStickyServerEnabled = Settings::getInstance()->getUseStickyServer();
if(isStickyServerEnabled) {
qDebug() << "Not changing servers because stickyServer=1";
} else {
// After each transaction, change servers to spread out