Fix login dialog causing main window to be non movable (#4121)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
fixes https://github.com/Chatterino/chatterino2/issues/2378
This commit is contained in:
kornes
2022-11-12 13:40:49 +00:00
committed by GitHub
parent 2a9c15b2de
commit a8b4eaa431
4 changed files with 32 additions and 38 deletions
+2 -4
View File
@@ -33,10 +33,8 @@ AccountsPage::AccountsPage()
view->getTableView()->horizontalHeader()->setStretchLastSection(true);
view->addButtonPressed.connect([this] {
static auto loginWidget = new LoginWidget(this);
loginWidget->show();
loginWidget->raise();
LoginDialog d(this);
d.exec();
});
view->getTableView()->setStyleSheet("background: #333");