mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
parent
7b6db55f28
commit
bd0044f9d5
@ -174,12 +174,10 @@ void Dialog::showView()
|
||||
prepareView();
|
||||
|
||||
QWidget * w = asQWidget();
|
||||
if (w->isVisible()) {
|
||||
w->raise();
|
||||
w->activateWindow();
|
||||
} else
|
||||
if (!w->isVisible())
|
||||
w->show();
|
||||
|
||||
w->raise();
|
||||
w->activateWindow();
|
||||
if (wantInitialFocus())
|
||||
w->setFocus();
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user