PAM login will be phased out. Users with PAM login need to reset their password (click "I forgot my password") for this GitLab instance. Please use the standard login after the reset. In case of problems contact the admins.

Commit e0c49286 authored by Thiago Santini's avatar Thiago Santini

Fixes widget reaction on minimize

parent 459bc499
......@@ -18,6 +18,7 @@ signals:
public slots:
protected:
void hideEvent(QHideEvent *event) Q_DECL_OVERRIDE { Q_UNUSED(event) emit closed(false); }
void closeEvent(QCloseEvent *event) Q_DECL_OVERRIDE { Q_UNUSED(event) emit closed(false); }
void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE { emit keyPress(event); }
void keyReleaseEvent(QKeyEvent *event) Q_DECL_OVERRIDE { emit keyRelease(event); }
......
......@@ -428,11 +428,13 @@ void MainWindow::widgetButtonReact(QMainWindow *window, bool checked)
if (!window)
return;
if (checked) {
if (checked) {
window->show();
window->raise();
window->activateWindow();
window->setFocus();
window->setFocus();
if (window->isMinimized())
window->showNormal();
} else
window->hide();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment